Terradue Srl Communities API

Community management endpoints

Operations 7

POST /api/communities Create a Community #
GET /api/communities Search Communities #
PUT /api/communities/{communityId} Update a Community #
DELETE /api/communities/{communityId} Delete Community #
GET /api/communities/{communityId} Get a Community #
GET /api/communities/{communityId}/records Get Community Records #
POST /api/communities/{communityId}/rename Rename a Community #

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/terradue-srl:terradue-srl-communities-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

terradue-srl-communities-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Invenio REST Communities API
  description: '## **Summary**

    The following document is a reference guide for all the REST APIs that InvenioRDM exposes.

    ## **Resources**

    - 📚 Product documentation

    - 🔗 OpenAPI GitHub repository

    - 🌐 Invenio project

    - 💬 Community support'
  version: 12.0.3
  contact:
    name: InvenioRDM Documentation
    url: https://inveniordm.docs.cern.ch
  license:
    name: MIT License
    url: https://opensource.org/licenses/MIT
  x-copyright: KTH Royal Institute of Technology 2025
  x-repo: https://github.com/Samk13/invenio-api-toolkit
servers:
- url: '{baseURL}'
  description: InvenioRDM instance
  variables:
    baseURL:
      default: https://inveniordm.web.cern.ch
      description: Base URL of your InvenioRDM instance
security:
- BearerAuth: []
tags:
- name: Communities
  description: Community management endpoints
paths:
  /api/communities:
    post:
      summary: Create a Community
      tags:
      - Communities
      operationId: createACommunity
      parameters: []
      responses:
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
        '201':
          $ref: '#/components/responses/Created'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
            example:
              access:
                visibility: public
                member_policy: open
                record_policy: open
                review_policy: closed
                members_visibility: restricted
              slug: public-community-{{$randomProductAdjective}}-{{$randomVerb}}
              metadata:
                title: public-community-{{$randomProductAdjective}}-{{$randomVerb}}
                description: '{{$randomCatchPhraseDescriptor}}'
                type:
                  id: event
                curation_policy: This is the kind of records we accept.
                page: '{{$randomJobDescriptor}}'
                website: https://example-university.edu/
                organizations:
                - name: Example University
      security:
      - BearerAuth: []
    get:
      summary: Search Communities
      tags:
      - Communities
      operationId: searchCommunities
      parameters:
      - name: prettyprint
        in: query
        required: false
        schema:
          type: string
        example: '1'
      - name: q
        in: query
        required: false
        schema:
          type: string
        description: 'Search query used to filter results based on ElasticSearch''s query string syntax.

          '
        example: test
      - name: sort
        in: query
        required: false
        schema:
          type: string
        description: 'Sort search results. Customizable. Built-in options are "bestmatch", "newest", "oldest", "updated-desc", "updated-asc", "version" (default: "bestmatch" or "newest").'
        example: updated-asc
      - name: size
        in: query
        required: false
        schema:
          type: string
        description: 'Specify number of items in the results page (default: 10)'
        example: '2'
      - name: page
        in: query
        required: false
        schema:
          type: string
        description: Specify the page of results.
        example: '1'
      - name: type
        in: query
        required: false
        schema:
          type: string
        description: Specify community type as one of organization, event, topic or project.
      responses:
        '200':
          $ref: '#/components/responses/Success'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
      - BearerAuth: []
  /api/communities/{communityId}:
    put:
      summary: Update a Community
      tags:
      - Communities
      operationId: updateACommunity
      parameters:
      - name: communityId
        in: path
        required: true
        schema:
          type: string
        description: Unique identifier for the community
      responses:
        '200':
          $ref: '#/components/responses/Success'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
            example:
              access:
                visibility: restricted
                member_policy: closed
                record_policy: closed
              slug: '{{community-slug}}'
              metadata:
                title: example-community-{{$randomProductAdjective}}-{{$randomVerb}}
                description: '{{$randomCatchPhraseDescriptor}}'
                type:
                  id: event
                curation_policy: This is the kind of records we accept.
                page: Information for my community.
                website: https://inveniosoftware.org/
                organizations:
                - name: Example Organization
      security:
      - BearerAuth: []
    delete:
      summary: Delete Community
      tags:
      - Communities
      operationId: deleteCommunity
      parameters:
      - name: communityId
        in: path
        required: true
        schema:
          type: string
        description: Unique identifier for the community
      responses:
        '200':
          $ref: '#/components/responses/Success'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
      - BearerAuth: []
    get:
      summary: Get a Community
      tags:
      - Communities
      operationId: getACommunity
      parameters:
      - name: communityId
        in: path
        required: true
        schema:
          type: string
        description: Unique identifier for the community
      responses:
        '200':
          $ref: '#/components/responses/Success'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
      - BearerAuth: []
  /api/communities/{communityId}/records:
    get:
      summary: Get Community Records
      tags:
      - Communities
      operationId: getCommunityRecords
      parameters:
      - name: communityId
        in: path
        required: true
        schema:
          type: string
        description: Unique identifier for the community
      - name: q
        in: query
        required: false
        schema:
          type: string
        description: metadata.publication_date:[YYYY-MM-DD TO *] - Search for records published after a specific date
        example: metadata.publication_date%3A%5B2020-01-01%20TO%20%2A%5D
      responses:
        '200':
          $ref: '#/components/responses/Success'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
      - BearerAuth: []
  /api/communities/{communityId}/rename:
    post:
      summary: Rename a Community
      tags:
      - Communities
      operationId: renameACommunity
      parameters:
      - name: communityId
        in: path
        required: true
        schema:
          type: string
        description: Unique identifier for the community
      responses:
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
        '201':
          $ref: '#/components/responses/Created'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
            example:
              access:
                visibility: public
                member_policy: open
                record_policy: open
              slug: public-community-{{$randomProductAdjective}}-{{$randomVerb}}
              metadata:
                title: public-community-{{$randomProductAdjective}}-{{$randomVerb}}
                description: '{{$randomCatchPhraseDescriptor}}'
                type:
                  id: event
                curation_policy: This is the kind of records we accept.
                page: '{{$randomJobDescriptor}}'
                website: https://example-university.edu/
                organizations:
                - name: Example University
      security:
      - BearerAuth: []
components:
  responses:
    Forbidden:
      description: Forbidden - Insufficient permissions
    Unauthorized:
      description: Unauthorized - Authentication required
    InternalServerError:
      description: Internal server error - Unexpected server error
    Success:
      description: Successful response
      content:
        application/json:
          schema:
            type: object
    BadRequest:
      description: Bad request - Invalid input parameters
    Created:
      description: Resource created successfully
      content:
        application/json:
          schema:
            type: object
            additionalProperties: true
    NotFound:
      description: Not found - Resource does not exist
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Bearer token authentication