openapi: 3.0.3 info: title: Docupilot accounts APIs ai Gallery templates API version: '1.0' description: Docupilot accounts APIs termsOfService: https://docupilot.app/terms-and-conditions/ contact: name: Team Docupilot email: support@docupilot.app tags: - name: Gallery templates paths: /dashboard/accounts/v2/template_gallery/: get: operationId: list_gallery_templates summary: Get list of galery templates parameters: - in: query name: category schema: type: integer - name: ordering required: false in: query description: Which field to use when ordering the results. schema: type: string - name: search required: false in: query description: A search term. schema: type: string tags: - Gallery templates security: - OAuthAuthentication: [] - SessionAuthentication: [] - tokenAuth: [] responses: '200': content: application/json: schema: type: array items: $ref: '#/components/schemas/TemplateGallery' description: '' '401': content: application/json: schema: $ref: '#/components/schemas/UnauthenticatedError' description: '' '403': content: application/json: schema: $ref: '#/components/schemas/ForbiddenError' description: '' /dashboard/accounts/v2/template_gallery/{id}/: get: operationId: get_gallery_template summary: Get one template parameters: - in: path name: id schema: type: integer description: A unique integer value identifying this template gallery. required: true tags: - Gallery templates security: - OAuthAuthentication: [] - SessionAuthentication: [] - tokenAuth: [] responses: '200': content: application/json: schema: $ref: '#/components/schemas/TemplateGallery' description: '' '401': content: application/json: schema: $ref: '#/components/schemas/UnauthenticatedError' description: '' '403': content: application/json: schema: $ref: '#/components/schemas/ForbiddenError' description: '' '404': content: application/json: schema: $ref: '#/components/schemas/NotFoundError' description: '' components: schemas: UnauthenticatedError: type: object properties: detail: type: string required: - detail description: '' ForbiddenError: type: object properties: detail: type: string required: - detail description: '' TemplateGallery: type: object properties: id: type: integer readOnly: true image_path: type: string readOnly: true file_type: type: string readOnly: true category: $ref: '#/components/schemas/GalleryCategory' title: type: string maxLength: 50 description: type: string nullable: true maxLength: 255 images_count: type: integer maximum: 32767 minimum: 0 nullable: true required: - category - file_type - id - image_path - title description: '' NotFoundError: type: object properties: detail: type: string required: - detail description: '' GalleryCategory: type: object properties: id: type: integer readOnly: true name: type: string maxLength: 100 required: - id - name description: '' securitySchemes: OAuthAuthentication: type: http scheme: bearer description: OAuth2 Bearer Token Authentication SessionAuthentication: type: apiKey in: cookie name: sessionid description: browser based login takes care of this externalDocs: description: Help docs on how to use API url: https://help.docupilot.app/developers/api-overview