Synatic Data Stores API

A DataStore.

Operations 28

POST /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/sync Syncs the data store to retrieve indexes, schema and collection info #
POST /v1/organizations(?:/([^/]+?))/datastores/test-connection Tests the connection to ensure it is valid #
GET /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/test-connection Tests the mongodb connection to ensure it is valid #
POST /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections Saves data store collections #
GET /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections Searches for data store collections #
GET /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier} Gets a data store collection #
PUT /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier} Updates a data store collection #
PATCH /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier} Patches a DataStore collection given the JSON Patch #
DELETE /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier} Updates a data store collection #
DELETE /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier}/soft-purge Deletes all documents in the collection without dropping the collection #
GET /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier}/stats Gets the stats of a DataStore collection #
POST /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier}/values Saves data store values #
DELETE /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier}/values Deletes data store values based on the filter #
GET /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier}/values Queries the data store values #
PUT /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier}/values/raw Updates a data store value using a raw filter #
PUT /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier}/values/{valueId} Updates a data store value #
DELETE /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier}/values/{valueId} Deletes a data store value #
GET /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier}/values/{valueId} Gets a data store value #
GET /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier}/values/count Returns the count of the number of documents that match the filter #
POST /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier}/values/aggregate Queries the data store values using a mongodb aggregate #
POST /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/values/noql Queries the data store values using noql #
POST /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/values/generate-aggregation-pipeline Queries the data store values using noql #
GET /v1/organizations(?:/([^/]+?))/datastores Queries the DataStores #
POST /v1/organizations(?:/([^/]+?))/datastores Creates a DataStore #
GET /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId} Retrieves a DataStore #
PUT /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId} Updates a DataStore #
DELETE /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId} Deletes a DataStore #
PATCH /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId} Patches a DataStore given the JSON Patch #

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/synatic:synatic-datastores-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

synatic-datastores-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Main Data Stores API
  version: 3.5.1
  description: A DataStore.
servers:
- url: /
tags:
- name: Datastores
  description: A DataStore.
paths:
  /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/sync:
    post:
      tags:
      - Datastores
      summary: Syncs the data store to retrieve indexes, schema and collection info
      description: ''
      responses:
        '200':
          description: The synced data store
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '404':
          description: Not Found
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: postV1Organizations(?:([^]+?))DatastoresByDataStoreIdSync
      x-operation-id-source: derived
  /v1/organizations(?:/([^/]+?))/datastores/test-connection:
    post:
      tags:
      - Datastores
      summary: Tests the connection to ensure it is valid
      description: ''
      responses:
        '200':
          description: The result of the test
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '404':
          description: Not Found
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      operationId: postV1Organizations(?:([^]+?))DatastoresTestConnection
      x-operation-id-source: derived
  /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/test-connection:
    get:
      tags:
      - Datastores
      summary: Tests the mongodb connection to ensure it is valid
      description: ''
      responses:
        '200':
          description: The result of the test
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '404':
          description: Not Found
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: getV1Organizations(?:([^]+?))DatastoresByDataStoreIdTestConnection
      x-operation-id-source: derived
  /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections:
    post:
      tags:
      - Datastores
      summary: Saves data store collections
      description: ''
      responses:
        '201':
          description: The saved data store collection
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '404':
          description: Not Found
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: postV1Organizations(?:([^]+?))DatastoresByDataStoreIdCollections
      x-operation-id-source: derived
    get:
      tags:
      - Datastores
      summary: Searches for data store collections
      description: ''
      responses:
        '200':
          description: The DataStore collections
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '404':
          description: Not Found
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: getV1Organizations(?:([^]+?))DatastoresByDataStoreIdCollections
      x-operation-id-source: derived
  /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier}:
    merge:
      tags:
      - DataStores
      summary: Merges the object on the body with the DataStore Collection
      description: ''
      responses:
        '204':
          description: No Content
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '500':
          description: Server Error
          schema:
            $ref: '#/components/schemas/serverError'
      parameters:
      - name: collectionIdentifier
        in: path
        type: string
        required: true
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        type: string
        in: path
      addedParameters:
        path:
          dataStoreId: true
    get:
      tags:
      - Datastores
      summary: Gets a data store collection
      description: ''
      responses:
        '200':
          description: The DataStore collection
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '404':
          description: Not Found
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: collectionIdentifier
        in: path
        required: true
        schema:
          type: string
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: getV1Organizations(?:([^]+?))DatastoresByDataStoreIdCollectionsByCollectionIdentifier
      x-operation-id-source: derived
    put:
      tags:
      - Datastores
      summary: Updates a data store collection
      description: ''
      responses:
        '204':
          description: indicates a successful update
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '404':
          description: Not Found
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: collectionIdentifier
        in: path
        required: true
        schema:
          type: string
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: putV1Organizations(?:([^]+?))DatastoresByDataStoreIdCollectionsByCollectionIdentifier
      x-operation-id-source: derived
    patch:
      tags:
      - Datastores
      summary: Patches a DataStore collection given the JSON Patch
      description: ''
      responses:
        '204':
          description: No Content
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: collectionIdentifier
        in: path
        required: true
        schema:
          type: string
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: patchV1Organizations(?:([^]+?))DatastoresByDataStoreIdCollectionsByCollectionIdentifier
      x-operation-id-source: derived
    delete:
      tags:
      - Datastores
      summary: Updates a data store collection
      description: ''
      responses:
        '204':
          description: indicates a successful update
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '404':
          description: Not Found
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: collectionIdentifier
        in: path
        required: true
        schema:
          type: string
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: deleteV1Organizations(?:([^]+?))DatastoresByDataStoreIdCollectionsByCollectionIdentifier
      x-operation-id-source: derived
  /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier}/soft-purge:
    delete:
      tags:
      - Datastores
      summary: Deletes all documents in the collection without dropping the collection
      description: ''
      responses:
        '204':
          description: No Content
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: collectionIdentifier
        in: path
        required: true
        schema:
          type: string
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: deleteV1Organizations(?:([^]+?))DatastoresByDataStoreIdCollectionsByCollectionIdentifierSoftPurge
      x-operation-id-source: derived
  /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier}/stats:
    get:
      tags:
      - Datastores
      summary: Gets the stats of a DataStore collection
      description: ''
      responses:
        '200':
          description: The document representing the stats for the collection
        '204':
          description: No Content
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: collectionIdentifier
        in: path
        required: true
        schema:
          type: string
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: getV1Organizations(?:([^]+?))DatastoresByDataStoreIdCollectionsByCollectionIdentifierStats
      x-operation-id-source: derived
  /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier}/values:
    post:
      tags:
      - Datastores
      summary: Saves data store values
      description: ''
      responses:
        '201':
          description: The saved data store value
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '404':
          description: Not Found
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: collectionIdentifier
        in: path
        required: true
        schema:
          type: string
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: postV1Organizations(?:([^]+?))DatastoresByDataStoreIdCollectionsByCollectionIdentifierValues
      x-operation-id-source: derived
    delete:
      tags:
      - Datastores
      summary: Deletes data store values based on the filter
      description: ''
      responses:
        '204':
          description: Indicates that the delete was successful
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '404':
          description: Not Found
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: collectionIdentifier
        in: path
        required: true
        schema:
          type: string
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: deleteV1Organizations(?:([^]+?))DatastoresByDataStoreIdCollectionsByCollectionIdentifierValues
      x-operation-id-source: derived
    get:
      tags:
      - Datastores
      summary: Queries the data store values
      description: ''
      responses:
        '200':
          description: The result of the query
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '404':
          description: Not Found
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: collectionIdentifier
        in: path
        required: true
        schema:
          type: string
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: getV1Organizations(?:([^]+?))DatastoresByDataStoreIdCollectionsByCollectionIdentifierValues
      x-operation-id-source: derived
  /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier}/values/raw:
    put:
      tags:
      - Datastores
      summary: Updates a data store value using a raw filter
      description: ''
      responses:
        '204':
          description: The updated data store value result
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '404':
          description: Not Found
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: collectionIdentifier
        in: path
        required: true
        schema:
          type: string
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: putV1Organizations(?:([^]+?))DatastoresByDataStoreIdCollectionsByCollectionIdentifierValuesRaw
      x-operation-id-source: derived
  /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier}/values/{valueId}:
    put:
      tags:
      - Datastores
      summary: Updates a data store value
      description: ''
      responses:
        '204':
          description: The updated data store value result
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '404':
          description: Not Found
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: collectionIdentifier
        in: path
        required: true
        schema:
          type: string
      - name: valueId
        in: path
        required: true
        schema:
          type: string
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: putV1Organizations(?:([^]+?))DatastoresByDataStoreIdCollectionsByCollectionIdentifierValuesByValueId
      x-operation-id-source: derived
    delete:
      tags:
      - Datastores
      summary: Deletes a data store value
      description: ''
      responses:
        '204':
          description: Indicates that the delete was successful
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '404':
          description: Not Found
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: collectionIdentifier
        in: path
        required: true
        schema:
          type: string
      - name: valueId
        in: path
        required: true
        schema:
          type: string
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: deleteV1Organizations(?:([^]+?))DatastoresByDataStoreIdCollectionsByCollectionIdentifierValuesByValueId
      x-operation-id-source: derived
    get:
      tags:
      - Datastores
      summary: Gets a data store value
      description: ''
      responses:
        '200':
          description: The result
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '404':
          description: Not Found
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: collectionIdentifier
        in: path
        required: true
        schema:
          type: string
      - name: valueId
        in: path
        required: true
        schema:
          type: string
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: getV1Organizations(?:([^]+?))DatastoresByDataStoreIdCollectionsByCollectionIdentifierValuesByValueId
      x-operation-id-source: derived
  /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier}/values/count:
    get:
      tags:
      - Datastores
      summary: Returns the count of the number of documents that match the filter
      description: ''
      responses:
        '200':
          description: The number of documents
        '204':
          description: No Content
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: collectionIdentifier
        in: path
        required: true
        schema:
          type: string
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: getV1Organizations(?:([^]+?))DatastoresByDataStoreIdCollectionsByCollectionIdentifierValuesCount
      x-operation-id-source: derived
  /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/collections/{collectionIdentifier}/values/aggregate:
    post:
      tags:
      - Datastores
      summary: Queries the data store values using a mongodb aggregate
      description: ''
      responses:
        '200':
          description: The result of the query
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '404':
          description: Not Found
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: collectionIdentifier
        in: path
        required: true
        schema:
          type: string
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: postV1Organizations(?:([^]+?))DatastoresByDataStoreIdCollectionsByCollectionIdentifierValuesAggregate
      x-operation-id-source: derived
  /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/values/noql:
    post:
      tags:
      - Datastores
      summary: Queries the data store values using noql
      description: ''
      responses:
        '200':
          description: The result of the query
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '404':
          description: Not Found
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: postV1Organizations(?:([^]+?))DatastoresByDataStoreIdValuesNoql
      x-operation-id-source: derived
  /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}/values/generate-aggregation-pipeline:
    post:
      tags:
      - Datastores
      summary: Queries the data store values using noql
      description: ''
      responses:
        '200':
          description: The result of the query
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '404':
          description: Not Found
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: postV1Organizations(?:([^]+?))DatastoresByDataStoreIdValuesGenerateAggregationPipeline
      x-operation-id-source: derived
  /v1/organizations(?:/([^/]+?))/datastores:
    get:
      tags:
      - Datastores
      summary: Queries the DataStores
      description: ''
      responses:
        '200':
          description: Returns an array of DataStores
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: $filter
        description: The odata formatted filter e.g. $filter=field eq value
        required: false
        in: query
        schema:
          type: string
      - name: $select
        description: The fields to select e.g. $select=field1,field2
        required: false
        in: query
        schema:
          type: string
      - name: $sort
        description: The sort order of records e.g. $sort=field1,-field2
        required: false
        in: query
        schema:
          type: string
      - name: $limit
        description: The number of records to return
        required: false
        in: query
        schema:
          type: integer
          default: 50
      - name: $rawQuery
        description: 'A mongodb json find statement as a string. e.g. {"field1": 1}'
        required: false
        in: query
        schema:
          type: string
      - name: $skip
        description: The records to skip
        required: false
        in: query
        schema:
          type: integer
          default: 0
      addedParameters:
        query:
          $filter: true
          $select: true
          $sort: true
          $limit: true
          $rawQuery: true
          $skip: true
      operationId: getV1Organizations(?:([^]+?))Datastores
      x-operation-id-source: derived
    post:
      tags:
      - Datastores
      summary: Creates a DataStore
      description: ''
      responses:
        '201':
          description: Returns the created DataStore
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '409':
          description: Conflict, item exists
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      operationId: postV1Organizations(?:([^]+?))Datastores
      x-operation-id-source: derived
  /v1/organizations(?:/([^/]+?))/datastores/{dataStoreId}:
    merge:
      tags:
      - DataStores
      summary: Merges the object on the body with the DataStore
      description: ''
      responses:
        '204':
          description: No Content
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '500':
          description: Server Error
          schema:
            $ref: '#/components/schemas/serverError'
      parameters:
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        type: string
        in: path
      addedParameters:
        path:
          dataStoreId: true
    get:
      tags:
      - Datastores
      summary: Retrieves a DataStore
      description: ''
      responses:
        '200':
          description: Returns a DataStore
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '404':
          description: Not Found
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: getV1Organizations(?:([^]+?))DatastoresByDataStoreId
      x-operation-id-source: derived
    put:
      tags:
      - Datastores
      summary: Updates a DataStore
      description: ''
      responses:
        '204':
          description: No Content
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: putV1Organizations(?:([^]+?))DatastoresByDataStoreId
      x-operation-id-source: derived
    delete:
      tags:
      - Datastores
      summary: Deletes a DataStore
      description: ''
      responses:
        '204':
          description: No Content
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: deleteV1Organizations(?:([^]+?))DatastoresByDataStoreId
      x-operation-id-source: derived
    patch:
      tags:
      - Datastores
      summary: Patches a DataStore given the JSON Patch
      description: ''
      responses:
        '204':
          description: No Content
        '400':
          description: Validation error
        '401':
          description: Not Authorised
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/serverError'
      parameters:
      - name: dataStoreId
        description: The unique name of the DataStore
        required: true
        in: path
        schema:
          type: string
      addedParameters:
        path:
          dataStoreId: true
      operationId: patchV1Organizations(?:([^]+?))DatastoresByDataStoreId
      x-operation-id-source: derived
components:
  schemas:
    serverError:
      description: A Server Error
      type: object
      properties:
        statusCode:
          type: integer
        message:
          type: string
        error:
          type:
          - string
          - object