openapi: 3.2.0 info: title: Genialis base Community API version: 0.0.0 description: Backend of the Genialis platform. servers: - url: https://app.genialis.com description: Base URL declared by the provider in apis.yml (roadmap#122). tags: - name: Community paths: /api/community: get: operationId: api_community_list description: API view for :class:`Community` objects. parameters: - name: limit required: false in: query description: Number of results to return per page. schema: type: integer - name: offset required: false in: query description: The initial index from which to return the results. schema: type: integer tags: - Community security: - cookieAuth: [] - {} responses: '200': content: application/json: schema: $ref: '#/components/schemas/PaginatedCommunityList' description: '' summary: Api community list x-summary-source: derived components: schemas: PaginatedCommunityList: type: object required: - count - results properties: count: type: integer example: 123 next: type: - string - 'null' format: uri example: http://api.example.org/accounts/?offset=400&limit=100 previous: type: - string - 'null' format: uri example: http://api.example.org/accounts/?offset=200&limit=100 results: type: array items: $ref: '#/components/schemas/Community' Community: type: object description: Serializer for :class:`Community` objects. properties: id: type: integer readOnly: true name: type: string maxLength: 100 slug: type: string maxLength: 100 pattern: ^[-a-zA-Z0-9_]+$ default: type: boolean required: - id - name - slug securitySchemes: cookieAuth: type: apiKey in: cookie name: sessionid