{
  "opencollection": "1.0.0",
  "info": {
    "name": "Google Cloud Firestore Databases Documents API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Documents",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Google Cloud Firestore List documents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://firestore.googleapis.com/v1/projects/:project/databases/:database/documents/:collectionId",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "database",
                "value": "",
                "type": "path"
              },
              {
                "name": "collectionId",
                "value": "",
                "type": "path"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageToken",
                "value": "",
                "type": "query"
              },
              {
                "name": "orderBy",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.google.com/o/oauth2/auth",
              "accessTokenUrl": "https://oauth2.googleapis.com/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Lists documents in a collection."
        },
        {
          "info": {
            "name": "Google Cloud Firestore Create a document",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://firestore.googleapis.com/v1/projects/:project/databases/:database/documents/:collectionId",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "database",
                "value": "",
                "type": "path"
              },
              {
                "name": "collectionId",
                "value": "",
                "type": "path"
              },
              {
                "name": "documentId",
                "value": "",
                "type": "query",
                "description": "Optional client-assigned document ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.google.com/o/oauth2/auth",
              "accessTokenUrl": "https://oauth2.googleapis.com/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Creates a new document in the specified collection."
        },
        {
          "info": {
            "name": "Google Cloud Firestore Get a document",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://firestore.googleapis.com/v1/projects/:project/databases/:database/documents/:collectionId/:documentId",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "database",
                "value": "",
                "type": "path"
              },
              {
                "name": "collectionId",
                "value": "",
                "type": "path"
              },
              {
                "name": "documentId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.google.com/o/oauth2/auth",
              "accessTokenUrl": "https://oauth2.googleapis.com/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Gets a single document."
        },
        {
          "info": {
            "name": "Google Cloud Firestore Update a document",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://firestore.googleapis.com/v1/projects/:project/databases/:database/documents/:collectionId/:documentId",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "database",
                "value": "",
                "type": "path"
              },
              {
                "name": "collectionId",
                "value": "",
                "type": "path"
              },
              {
                "name": "documentId",
                "value": "",
                "type": "path"
              },
              {
                "name": "updateMask.fieldPaths",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.google.com/o/oauth2/auth",
              "accessTokenUrl": "https://oauth2.googleapis.com/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Updates or inserts a document."
        },
        {
          "info": {
            "name": "Google Cloud Firestore Delete a document",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://firestore.googleapis.com/v1/projects/:project/databases/:database/documents/:collectionId/:documentId",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "database",
                "value": "",
                "type": "path"
              },
              {
                "name": "collectionId",
                "value": "",
                "type": "path"
              },
              {
                "name": "documentId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.google.com/o/oauth2/auth",
              "accessTokenUrl": "https://oauth2.googleapis.com/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Deletes a document."
        },
        {
          "info": {
            "name": "Google Cloud Firestore Run a query",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://firestore.googleapis.com/v1/projects/:project/databases/:database/documents:runQuery",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "database",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.google.com/o/oauth2/auth",
              "accessTokenUrl": "https://oauth2.googleapis.com/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Runs a structured query against a Firestore database."
        }
      ]
    }
  ],
  "bundled": true
}