APIs.io Engineering Platform · Example Payload

Apis Io Engineering Platform Reposcreate Or Update File Contents Example

APIs.ioEngineeringPlatform

Apis Io Engineering Platform Reposcreate Or Update File Contents 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": "repos/create-or-update-file-contents",
  "method": "PUT",
  "path": "/repos/{owner}/{repo}/contents/{path}",
  "summary": "APIs.io Engineering Platform Create or update file contents",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "example-for-creating-a-file",
      "example": {
        "message": "my commit message",
        "committer": {
          "name": "Monalisa Octocat",
          "email": "octocat@github.com"
        },
        "content": "bXkgbmV3IGZpbGUgY29udGVudHM="
      }
    },
    {
      "contentType": "application/json",
      "name": "example-for-updating-a-file",
      "example": {
        "message": "a new commit message",
        "committer": {
          "name": "Monalisa Octocat",
          "email": "octocat@github.com"
        },
        "content": "bXkgdXBkYXRlZCBmaWxlIGNvbnRlbnRz",
        "sha": "95b966ae1c166bd92f8ae7d1c313e738c731dfc3"
      }
    }
  ],
  "responseExamples": []
}