APIs.io Engineering Platform · Example Payload

Apis Io Engineering Platform Teamsadd Or Update Project Permissions Legacy Example

APIs.ioEngineeringPlatform

Apis Io Engineering Platform Teamsadd Or Update Project Permissions Legacy Example is an example object payload from APIs.io Engineering Platform, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "teams/add-or-update-project-permissions-legacy",
  "method": "PUT",
  "path": "/teams/{team_id}/projects/{project_id}",
  "summary": "APIs.io Engineering Platform Add or update team project permissions (Legacy)",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "default",
      "example": {
        "permission": "read"
      }
    }
  ],
  "responseExamples": [
    {
      "status": "403",
      "contentType": "application/json",
      "name": "response-if-the-project-is-not-owned-by-the-organization",
      "example": {
        "message": "Must have admin rights to Repository.",
        "documentation_url": "https://docs.github.com/enterprise-server@3.9/rest/teams/teams#add-or-update-team-project-permissions"
      }
    }
  ]
}