Hugging Face · Example Payload

Hugging Face Updatereposettings Example

Hugging Face Updatereposettings Example is an example object payload from Hugging Face, 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": "updateRepoSettings",
  "method": "PUT",
  "path": "/repos/{repo_type}/{repo_id}/settings",
  "summary": "Update Repository Settings",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "UpdatereposettingsRequestExample",
      "example": {
        "private": true,
        "gated": "auto"
      }
    }
  ],
  "responseExamples": [
    {
      "status": "401",
      "contentType": "application/json",
      "name": "Updatereposettings401Example",
      "example": {
        "error": "example_value",
        "statusCode": 10
      }
    }
  ]
}