openapi: 3.2.0 info: version: 2.0.0 title: Appwrite GraphQL API description: Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to https://appwrite.io/docs termsOfService: https://appwrite.io/policy/terms contact: name: Appwrite Team url: https://appwrite.io/support email: team@appwrite.io license: name: BSD-3-Clause url: https://raw.githubusercontent.com/appwrite/appwrite/master/LICENSE servers: - url: https://cloud.appwrite.io/v1 description: Appwrite Cloud endpoint. - url: https://{region}.cloud.appwrite.io/v1 description: Appwrite Cloud regional endpoint. Replace `{region}` with your project region. variables: region: default: fra description: Appwrite Cloud region. tags: - name: Graph QL description: The GraphQL API allows you to query and mutate your Appwrite server using GraphQL. paths: /graphql: post: summary: GraphQL endpoint operationId: graphqlQuery tags: - Graph QL description: Execute a GraphQL mutation. responses: '200': description: Any content: application/json: schema: $ref: '#/components/schemas/any' deprecated: false x-appwrite: group: graphql demo: graphql/query.md rate-limit: 60 rate-time: 60 rate-key: url:{url},ip:{ip} scope: graphql platforms: - console - server - client packaging: false public: true auth: console: Project: [] server: Project: [] Key: [] client: Project: [] security: - Project: [] Key: [] Session: [] JWT: [] requestBody: content: application/json: schema: type: object properties: query: description: The query or queries to execute. type: object default: {} example: {} required: - query /graphql/mutation: post: summary: GraphQL endpoint operationId: graphqlMutation tags: - Graph QL description: Execute a GraphQL mutation. responses: '200': description: Any content: application/json: schema: $ref: '#/components/schemas/any' deprecated: false x-appwrite: group: graphql demo: graphql/mutation.md rate-limit: 60 rate-time: 60 rate-key: url:{url},ip:{ip} scope: graphql platforms: - console - server - client packaging: false public: true auth: console: Project: [] server: Project: [] Key: [] client: Project: [] security: - Project: [] Key: [] Session: [] JWT: [] requestBody: content: application/json: schema: type: object properties: query: description: The query or queries to execute. type: object default: {} example: {} required: - query components: schemas: any: description: Any type: object additionalProperties: true example: {} securitySchemes: Project: type: apiKey name: X-Appwrite-Project description: Your project ID in: header x-appwrite: platforms: - client - server - console demo: ProjectPath: type: apiKey name: project description: Your project ID in: query x-appwrite: location: path param: project_id platforms: - client - server - console demo: JWT: type: apiKey name: X-Appwrite-JWT description: Your secret JSON Web Token in: header x-appwrite: platforms: - client - server - console demo: Bearer: type: http scheme: bearer bearerFormat: JWT description: The OAuth access token to authenticate with x-appwrite: platforms: - client - server - console Locale: type: apiKey name: X-Appwrite-Locale description: '' in: header x-appwrite: platforms: - client - server - console demo: en Session: type: apiKey name: X-Appwrite-Session description: The user session to authenticate with in: header x-appwrite: platforms: - client - server - console DevKey: type: apiKey name: X-Appwrite-Dev-Key description: Your secret dev API key in: header x-appwrite: platforms: - client - server - console Cookie: type: apiKey name: Cookie description: The user cookie to authenticate with. Used by SDKs that forward an incoming Cookie header in server-side runtimes. in: header x-appwrite: platforms: - client - server - console ImpersonateUserId: type: apiKey name: X-Appwrite-Impersonate-User-Id description: Impersonate a user by ID in: header x-appwrite: platforms: - client - server - console ImpersonateUserEmail: type: apiKey name: X-Appwrite-Impersonate-User-Email description: Impersonate a user by email in: header x-appwrite: platforms: - client - server - console ImpersonateUserPhone: type: apiKey name: X-Appwrite-Impersonate-User-Phone description: Impersonate a user by phone in: header x-appwrite: platforms: - client - server - console Key: type: apiKey name: X-Appwrite-Key description: Your secret API key in: header x-appwrite: platforms: - server - console - manager demo: Organization: type: apiKey name: X-Appwrite-Organization description: Your organization ID in: header x-appwrite: platforms: - server - console demo: ForwardedUserAgent: type: apiKey name: X-Forwarded-User-Agent description: The user agent string of the client that made the request in: header x-appwrite: platforms: - server Mode: type: apiKey name: X-Appwrite-Mode description: '' in: header x-appwrite: platforms: - console demo: '' Platform: type: apiKey name: X-Appwrite-Platform description: The platform type (Appwrite or Imagine) in: header x-appwrite: platforms: - console externalDocs: description: Full API docs, specs and tutorials url: https://appwrite.io/docs