{
  "opencollection": "1.0.0",
  "info": {
    "name": "Zenodo REST Access Communities API",
    "version": "12.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Communities",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search communities",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://zenodo.org/api/communities",
            "params": [
              {
                "name": "q",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort",
                "value": "updated-asc",
                "type": "query"
              },
              {
                "name": "size",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Community type: organization, event, topic, project"
              }
            ]
          },
          "docs": "Search communities"
        },
        {
          "info": {
            "name": "Create a community",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://zenodo.org/api/communities",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a community"
        },
        {
          "info": {
            "name": "Get a community",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://zenodo.org/api/communities/:communityId",
            "params": [
              {
                "name": "communityId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a community"
        },
        {
          "info": {
            "name": "Update a community",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://zenodo.org/api/communities/:communityId",
            "params": [
              {
                "name": "communityId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update a community"
        },
        {
          "info": {
            "name": "Delete a community",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://zenodo.org/api/communities/:communityId",
            "params": [
              {
                "name": "communityId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a community"
        },
        {
          "info": {
            "name": "Get records in a community",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://zenodo.org/api/communities/:communityId/records",
            "params": [
              {
                "name": "communityId",
                "value": "",
                "type": "path"
              },
              {
                "name": "q",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get records in a community"
        },
        {
          "info": {
            "name": "Rename a community",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://zenodo.org/api/communities/:communityId/rename",
            "params": [
              {
                "name": "communityId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Rename a community"
        }
      ]
    }
  ],
  "bundled": true
}