{
  "opencollection": "1.0.0",
  "info": {
    "name": "Baserow API spec Admin Settings API",
    "version": "2.2.2"
  },
  "items": [
    {
      "info": {
        "name": "Settings",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "get_settings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/settings/"
          },
          "docs": "Responds with all the admin configured settings."
        },
        {
          "info": {
            "name": "get_instance_id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/settings/instance-id/",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Responds with the self hosted instance id. Only a user with staff permissions can request it."
        },
        {
          "info": {
            "name": "update_settings",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/api/settings/update/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates the admin configured settings if the user has admin permissions."
        }
      ]
    }
  ],
  "bundled": true
}