{
  "opencollection": "1.0.0",
  "info": {
    "name": "Upsun.com Rest Add-ons References API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://auth.api.platform.sh/oauth2/authorize",
      "accessTokenUrl": "https://auth.api.platform.sh/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "References",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List referenced users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{schemes}://api.upsun.com/ref/users",
            "params": [
              {
                "name": "in",
                "value": "",
                "type": "query",
                "description": "The list of comma-separated user IDs generated by a trusted service."
              },
              {
                "name": "sig",
                "value": "",
                "type": "query",
                "description": "The signature of this request generated by a trusted service."
              }
            ]
          },
          "docs": "Retrieves a list of users referenced by a trusted service. Clients cannot construct the URL themselves. The correct URL will be provided in the HAL links of another API response, in the <code>_links</code> object with a key like <code>ref:users:0</code>."
        },
        {
          "info": {
            "name": "List referenced teams",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{schemes}://api.upsun.com/ref/teams",
            "params": [
              {
                "name": "in",
                "value": "",
                "type": "query",
                "description": "The list of comma-separated team IDs generated by a trusted service."
              },
              {
                "name": "sig",
                "value": "",
                "type": "query",
                "description": "The signature of this request generated by a trusted service."
              }
            ]
          },
          "docs": "Retrieves a list of teams referenced by a trusted service. Clients cannot construct the URL themselves. The correct URL will be provided in the HAL links of another API response, in the <code>_links</code> object with a key like <code>ref:teams:0</code>."
        },
        {
          "info": {
            "name": "List referenced organizations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{schemes}://api.upsun.com/ref/organizations",
            "params": [
              {
                "name": "in",
                "value": "",
                "type": "query",
                "description": "The list of comma-separated organization IDs generated by a trusted service."
              },
              {
                "name": "sig",
                "value": "",
                "type": "query",
                "description": "The signature of this request generated by a trusted service."
              }
            ]
          },
          "docs": "Retrieves a list of organizations referenced by a trusted service. Clients cannot construct the URL themselves. The correct URL will be provided in the HAL links of another API response, in the <code>_links</code> object with a key like <code>ref:organizations:0</code>."
        },
        {
          "info": {
            "name": "List referenced projects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{schemes}://api.upsun.com/ref/projects",
            "params": [
              {
                "name": "in",
                "value": "",
                "type": "query",
                "description": "The list of comma-separated project IDs generated by a trusted service."
              },
              {
                "name": "sig",
                "value": "",
                "type": "query",
                "description": "The signature of this request generated by a trusted service."
              }
            ]
          },
          "docs": "Retrieves a list of projects referenced by a trusted service. Clients cannot construct the URL themselves. The correct URL will be provided in the HAL links of another API response, in the <code>_links</code> object with a key like <code>ref:projects:0</code>."
        },
        {
          "info": {
            "name": "List referenced regions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{schemes}://api.upsun.com/ref/regions",
            "params": [
              {
                "name": "in",
                "value": "",
                "type": "query",
                "description": "The list of comma-separated region IDs generated by a trusted service."
              },
              {
                "name": "sig",
                "value": "",
                "type": "query",
                "description": "The signature of this request generated by a trusted service."
              }
            ]
          },
          "docs": "Retrieves a list of regions referenced by a trusted service. Clients cannot construct the URL themselves. The correct URL will be provided in the HAL links of another API response, in the <code>_links</code> object with a key like <code>ref:regions:0</code>."
        }
      ]
    }
  ],
  "bundled": true
}