Gitea · Example Payload

Gitea Rest Api Org Create Example

GitSource ControlDevOpsCI/CDCode HostingOpen SourceSelf HostedPackage RegistryIssue TrackingPull Requests

Gitea Rest Api Org Create Example is an example object payload from Gitea, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationrequestresponse

Example Payload

Raw ↑
{
  "operation": {
    "method": "POST",
    "path": "/orgs",
    "operationId": "orgCreate",
    "summary": "Create an organization",
    "tags": [
      "organization"
    ]
  },
  "request": {
    "headers": {
      "Authorization": "token abc123",
      "Content-Type": "application/json"
    },
    "body": {
      "username": "acme",
      "full_name": "Acme Corp",
      "visibility": "public"
    }
  },
  "response": {
    "status": 201,
    "body": {}
  }
}