Macrometa Key Value API

The Key Value API from Macrometa — 8 operation(s) for key value.

Operations 11

GET /_fabric/{fabric}/_api/kv/{collection}/count Get number of key-value pairs in collection
GET /_fabric/{fabric}/_api/kv/{collection}/keys Gets keys from key-value collection
GET /_fabric/{fabric}/_api/kv Lists all key-value collections
POST /_fabric/{fabric}/_api/kv/{collection} Create key-value collection #
DELETE /_fabric/{fabric}/_api/kv/{collection} Remove key-value collection
GET /_fabric/{fabric}/_api/kv/{collection}/value/{key} Get value from key-value collection
DELETE /_fabric/{fabric}/_api/kv/{collection}/value/{key} Remove key-value pair
POST /_fabric/{fabric}/_api/kv/{collection}/values Get key-value pairs from collection #
DELETE /_fabric/{fabric}/_api/kv/{collection}/values Remove key-value pairs.
PUT /_fabric/{fabric}/_api/kv/{collection}/value Set one or more key-value pairs in key-value collection
PUT /_fabric/{fabric}/_api/kv/{collection}/truncate Remove all key-value pairs in a collection

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/macrometa-key-value-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

macrometa-key-value-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Macrometa API Reference Activity Metrics Key Value API
  version: 0.17.17
  description: API reference for the Macrometa Global Data Network.
  license:
    name: Macrometa License, Version 2.0
servers:
- url: https://api-play.paas.macrometa.io
  description: GDN API
host: api-play.paas.macrometa.io
security:
- ApiKeyAuth: []
- BearerAuth: []
tags:
- name: Key Value
paths:
  /_fabric/{fabric}/_api/kv/{collection}/count:
    get:
      description: Get number of key-value pairs in collection.
      parameters:
      - in: path
        name: fabric
        required: true
        description: The name of the fabric.
        schema:
          type: string
          format: string
          default: _system
      - in: path
        name: collection
        required: true
        description: The name of the key-value collection.
        schema:
          type: string
          format: string
      - in: query
        name: groupID
        required: false
        description: Get count of key-value pairs belonging to this groupID.
        schema:
          type: string
          format: string
      responses:
        '200':
          description: Successfully fetched number of key-value pairs.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/kv_examples_rc_200'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
        '404':
          description: Failed to find specified fabric or collection.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_example_rc_404'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
      summary: Get number of key-value pairs in collection
      tags:
      - Key Value
  /_fabric/{fabric}/_api/kv/{collection}/keys:
    get:
      description: Fetch keys from key-value collection.
      parameters:
      - in: path
        name: fabric
        required: true
        description: The name of the fabric.
        schema:
          type: string
          format: string
          default: _system
      - in: path
        name: collection
        required: true
        description: The name of the key-value collection.
        schema:
          type: string
          format: string
      - in: query
        name: groupID
        required: false
        description: Get keys belonging to this groupID.
        schema:
          type: string
          format: string
      - description: This option simulates paging.
        in: query
        name: offset
        required: false
        schema:
          type: string
          default: 0
      - description: This option limits results while simulating paging.
        in: query
        name: limit
        required: false
        schema:
          type: string
          maximum: 100
          default: 20
      - description: Order the results ascending (asc) or descending (desc).
        in: query
        name: order
        required: false
        schema:
          type: string
          default: asc
      responses:
        '200':
          description: Successfully fetched the key-value keys.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/kv_array_rc_200'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
        '404':
          description: Failed to find specified fabric or collection.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_example_rc_404'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
      summary: Gets keys from key-value collection
      tags:
      - Key Value
  /_fabric/{fabric}/_api/kv:
    get:
      description: Fetch all key-value collections.
      parameters:
      - in: path
        name: fabric
        required: true
        description: The name of the fabric.
        schema:
          type: string
          format: string
          default: _system
      responses:
        '200':
          description: Successfully fetched all key-value collection with expiration details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/keys_array_rc_200_1'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
        '404':
          description: Failed to find specified fabric.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_example_rc_404'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
      summary: Lists all key-value collections
      tags:
      - Key Value
  /_fabric/{fabric}/_api/kv/{collection}:
    post:
      description: Create key-value collection.
      operationId: CreateNamespace
      parameters:
      - in: path
        name: fabric
        required: true
        description: The name of the fabric.
        schema:
          type: string
          format: string
          default: _system
      - in: path
        name: collection
        required: true
        description: The name of the key-value collection.
        schema:
          type: string
          format: string
      - description: Enable TTL support.
        in: query
        name: expiration
        required: false
        schema:
          type: boolean
          default: false
      - description: Enable KV group support.
        in: query
        name: group
        required: false
        schema:
          type: boolean
          default: false
      requestBody:
        content:
          application/json:
            schema:
              properties:
                stream:
                  description: Flag for on-demand stream collection
                  type: boolean
                  example: false
                enableShards:
                  description: Enabling sharding for the collection
                  type: boolean
                  example: false
                waitForSync:
                  description: '*True* if all data must be synced to storage before operation returns.'
                  type: boolean
                  example: true
                cacheEnabled:
                  description: '*True* if collection has cache enabled'
                  type: boolean
                  default: false
                blobs:
                  description: '*True* if collection is a blob-only collection.'
                  type: boolean
                  default: false
                shardKeys:
                  type: array
                  items:
                    description: Array of shard keys
                    type: string
                    example: key1
        description: "A JSON object with these optional properties:\n\n - **stream**: *True* if creating a stream with this collection.\n - **enableShards**: *True* if enabling sharding\n - **waitForSync**: *True* if all data must be synced to storage before operation returns.\n - **shardKeys**: an array of shard keys\n - **blobs**: *True* if this is a blob-only collection."
        required: true
      responses:
        '200':
          description: Successfully created key-value collection.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/kv_collection_examples_rc_200'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
        '400':
          description: Failed due to missing or malformed data. Verify that all parameters are complete.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_example_rc_400'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
        '404':
          description: Failed to find specified fabric or collection.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_example_rc_404'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
        '409':
          description: Failed because collection already exists.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_example_rc_409'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
        '429':
          description: Collection count exceeds the maximum number of collections per fabric.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_example_rc_429'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
      summary: Create key-value collection
      tags:
      - Key Value
    delete:
      description: Remove key-value collection.
      parameters:
      - in: path
        name: fabric
        required: true
        description: The name of the fabric.
        schema:
          type: string
          format: string
          default: _system
      - in: path
        name: collection
        required: true
        description: The name of the key-value collection.
        schema:
          type: string
          format: string
      responses:
        '200':
          description: Successfully removed the collection.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/kv_collection_examples_rc_200'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
        '404':
          description: Failed to find specified collection.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_example_rc_404'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
      summary: Remove key-value collection
      tags:
      - Key Value
  /_fabric/{fabric}/_api/kv/{collection}/value/{key}:
    get:
      description: 'Fetch value from key-value collection.


        Note that you should only specify multipart/form-data as the response content type when you are retrieving from a blob collection.'
      parameters:
      - in: path
        name: fabric
        required: true
        description: The name of the fabric.
        schema:
          type: string
          format: string
          default: _system
      - in: path
        name: collection
        required: true
        description: The name of the key-value collection.
        schema:
          type: string
          format: string
      - in: path
        name: key
        required: true
        description: The key.
        schema:
          type: string
          format: string
      responses:
        '200':
          description: Successfully fetched the key-value pair.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/kv_key_examples_rc_200'
            multipart/form-data:
              schema:
                $ref: '#/components/schemas/key_blob'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
        '404':
          description: Failed to find specified key-value pair.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_example_rc_404'
            multipart/form-data:
              schema:
                $ref: '#/components/schemas/error_example_rc_404'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
      summary: Get value from key-value collection
      tags:
      - Key Value
    delete:
      description: Remove key-value pair.
      parameters:
      - in: path
        name: fabric
        required: true
        description: The name of the fabric.
        schema:
          type: string
          format: string
          default: _system
      - in: path
        name: collection
        required: true
        description: The name of the key-value collection.
        schema:
          type: string
          format: string
      - in: path
        name: key
        required: true
        description: The key.
        schema:
          type: string
          format: string
      responses:
        '202':
          description: Successfully removed key-value pair.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/examples_id_key_rev'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
        '404':
          description: Failed to find specified key-value pair.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_example_rc_404'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
      summary: Remove key-value pair
      tags:
      - Key Value
  /_fabric/{fabric}/_api/kv/{collection}/values:
    post:
      description: 'Fetch key-value pairs from collection. Optional list of keys.


        **Note:** Max limit is 100 keys per request.


        Note that you should specify multipart/form-data as the response content type when you are retrieving from a blob collection.'
      operationId: GetValues
      parameters:
      - in: path
        name: fabric
        required: true
        description: The name of the fabric.
        schema:
          type: string
          format: string
          default: _system
      - in: path
        name: collection
        required: true
        description: The name of the key-value collection.
        schema:
          type: string
          format: string
      - in: query
        name: groupID
        required: false
        description: Get key-value pairs belonging to this groupID.
        schema:
          type: string
          format: string
      - description: This option can be used to simulate paging.
        in: query
        name: offset
        required: false
        schema:
          type: string
          default: 0
      - description: This option can be used to simulate paging. Limit the result.
        in: query
        name: limit
        required: false
        schema:
          type: string
          maximum: 100
          default: 20
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/keys_array'
        description: An optional JSON array of keys.
      responses:
        '200':
          description: Successfully fetched an array of key-value pairs from collection. If no keys are found and empty array is returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/kv_get_values_examples_rc_200'
            multipart/form-data:
              schema:
                $ref: '#/components/schemas/key_blob_array'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
        '404':
          description: Failed to find specified key-value pair.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_example_rc_404'
            multipart/form-data:
              schema:
                $ref: '#/components/schemas/error_example_rc_404'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
      summary: Get key-value pairs from collection
      tags:
      - Key Value
    delete:
      description: 'Remove key-value pairs. Requires a list of keys.


        **Note:** Max limit is 1000 keys per request.'
      parameters:
      - in: path
        name: fabric
        required: true
        description: The name of the fabric.
        schema:
          type: string
          format: string
          default: _system
      - in: path
        name: collection
        required: true
        description: The name of the key-value collection.
        schema:
          type: string
          format: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/keys_array'
        description: A JSON array of keys.
        required: true
      responses:
        '202':
          description: Successfully removed key-value pairs.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    _id:
                      description: ID of the collection.
                      type: string
                      example: test/foo
                    _key:
                      description: _key details of collection.
                      type: string
                      example: foo
                    _rev:
                      description: _rev details of collection.
                      type: string
                      example: _dPRuHxe--_
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
        '404':
          description: Failed to find specified fabric, collection or key-value pair.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_example_rc_404'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
      summary: Remove key-value pairs.
      tags:
      - Key Value
  /_fabric/{fabric}/_api/kv/{collection}/value:
    put:
      description: 'Set one or more key-value pairs in key-value collection.


        If the input is an array of objects, then key-value pairs are created in a batch.


        If the key does not exist, then the key-value pairs are created. Otherwise, the entry for the key is updated.


        Specify expiration in UTC timestamp.


        Note that you can use this API for both normal (text) and blob KV collections. When setting blob data in a blob collection, specify the multipart/form-data as the content type for the request body, and provide multi-part data in the request body.'
      parameters:
      - in: path
        name: fabric
        required: true
        description: The name of the fabric.
        schema:
          type: string
          format: string
          default: _system
      - in: path
        name: collection
        required: true
        description: The name of the key-value collection
        schema:
          type: string
          format: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/key_value_array'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/key_blob'
        description: 'An object of a single document or of an array of documents.


          If you are working with text (json) KV collections, please select "application/json" as the type of the request body. Here, you can set the following fields:

          * "_key" - if it is not set, then it is generated by the system

          * "value" - string or JSON object. Required.

          * "expireAt" - UNIX timestamp, indicating when the value expires (-1 means no expiration)


          If you are working with blob collections, please select "multipart/form-data" as the type of the request body. Here, you can set following fields:


          * "meta" - This is a JSON that can specify a _key and expireAt values for the KV pair. If a _key is not provided, then it is generated by the system. "expireAt" is UNIX timestamp, showing when the value expires (-1 means no expiration). If both are to be set to defaults, please specify an empty ("{}") JSON value.

          * "value" - corresponds to the file to be uploaded as the blob value for this KV pair.'
        required: true
      responses:
        '202':
          description: Successfully updated key-value pair.
          content:
            application/json:
              schema:
                type: array
                items:
                  properties:
                    _id:
                      description: ID of the collection.
                      type: string
                      example: test/foo
                    _key:
                      description: _key details of collection.
                      type: string
                      example: foo
                    _rev:
                      description: updated _rev details of collection.
                      type: string
                      example: _dPSbTGC---
                    _oldrev:
                      description: prvious _rev details of collection.
                      type: string
                      example: _dPRuHxe--_
                  type: object
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
        '404':
          description: Failed to find specified collection.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_example_rc_404'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
      summary: Set one or more key-value pairs in key-value collection
      tags:
      - Key Value
  /_fabric/{fabric}/_api/kv/{collection}/truncate:
    put:
      description: Remove all key-value pairs in a collection.
      parameters:
      - in: path
        name: fabric
        required: true
        description: The name of the fabric.
        schema:
          type: string
          format: string
          default: _system
      - in: path
        name: collection
        required: true
        description: The name of the key-value collection.
        schema:
          type: string
          format: string
      - in: query
        name: groupID
        required: false
        description: Truncate the key-value pairs belonging to this group ID.
        schema:
          type: string
          format: string
      responses:
        '200':
          description: Successfully removed all key-value entries.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/kv_collection_examples_rc_200'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
        '404':
          description: Failed to find specified fabric or collection.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_example_rc_404'
          headers:
            x-gdn-region:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-region'
            x-gdn-requestid:
              schema:
                $ref: '#/components/schemas/headers/x-gdn-requestid'
      summary: Remove all key-value pairs in a collection
      tags:
      - Key Value
components:
  schemas:
    kv_key_examples_rc_200:
      properties:
        _id:
          description: ID of the collection.
          type: string
          example: test/foo
        _key:
          description: _key details of collection.
          type: string
          example: foo
        _rev:
          description: _rev details of collection.
          type: string
          example: _dPRuHxe--_
        expireAt:
          description: Expiration details of collection.n
          type: integer
          example: 1638291600
        value:
          description: Value of the collection.
          type: string
          example: bar
      type: object
    error_example_rc_400:
      properties:
        code:
          description: HTTP response code.
          type: integer
          example: 400
        error:
          description: Flag if there is an error in response. *True* for this response.
          type: boolean
          example: true
        errorMessage:
          description: A message created for this error.
          type: string
          example: Error message
        errorNum:
          description: Error number returned from the database.
          type: integer
          example: 102020
      required:
      - error
      type: object
    examples_id_key_rev:
      properties:
        _id:
          description: ID of the collection.
          type: string
          example: test/foo
        _key:
          description: _key details of collection.
          type: string
          example: foo
        _rev:
          description: _rev details of collection.
          type: string
          example: _dPRuHxe--_
      type: object
    keys_array_rc_200_1:
      type: object
      properties:
        code:
          description: HTTP response code.
          type: integer
          example: 200
        error:
          description: Flag if there is an error in response. *False* for this response.
          type: boolean
          example: false
        result:
          description: An array of keys. If there are no results, the array is returned as empty.
          type: array
          items:
            type: object
            properties:
              name:
                description: Name of the collection.
                type: string
                example: testCollection
              expiration:
                description: Expiration details of a collection.
                type: string
                example: true
    kv_array_rc_200:
      type: object
      properties:
        code:
          description: HTTP response code.
          type: integer
          example: 200
        error:
          description: Flag if there is an error in response. *False* for this response.
          type: boolean
          example: false
        result:
          description: An array of keys. If there are no results, the array is returned as empty.
          type: array
          items:
            type: string
            example: data
    error_example_rc_404:
      properties:
        code:
          description: HTTP response code.
          type: integer
          example: 404
        error:
          description: Flag if there is an error in response. *True* for this response.
          type: boolean
          example: true
        errorMessage:
          description: A message created for this error.
          type: string
          example: Error message
        errorNum:
          description: Error number returned from the database.
          type: integer
          example: 581
      required:
      - error
      type: object
    error_example_rc_429:
      properties:
        code:
          description: HTTP response code.
          type: integer
          example: 429
        error:
          description: Flag if there is an error in response. *True* for this response.
          type: boolean
          example: true
        errorMessage:
          description: A message created for this error.
          type: string
          example: Error message
        errorNum:
          description: Error number returned from the database.
          type: integer
          example: 581
      required:
      - error
      type: object
    kv_collection_examples_rc_200:
      properties:
        code:
          description: HTTP response code.
          type: integer
          example: 200
        error:
          description: Flag if there is an error in response. *False* for this response.
          type: boolean
          example: false
        name:
          description: It shows name of the collection.
          type: string
          example: testCollection
      required:
      - error
      type: object
    keys_array:
      items:
        type: string
        format: string
        example: foo
      type: array
    kv_get_values_examples_rc_200:
      properties:
        code:
          description: HTTP response code.
          type: integer
          example: 200
        error:
          description: Flag if there is an error in response. *False* for this response.
          type: boolean
          example: 'false'
        result:
          description: An array of key-value pairs from collection. If no keys are found and empty array is returned.
          type: array
          items:
            type: object
            properties:
              _key:
                type: string
                example: foo
              value:
                type: string
                exampl

# --- truncated at 32 KB (35 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/macrometa/refs/heads/main/openapi/macrometa-key-value-api-openapi.yml