{
  "opencollection": "1.0.0",
  "info": {
    "name": "Rainbow Application Portal API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Applications",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Applications",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://openrainbow.com/api/rainbow/applications/v1.0/applications",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of applications to return"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Pagination offset"
              }
            ]
          },
          "docs": "Returns the list of Rainbow applications registered by the authenticated developer account."
        },
        {
          "info": {
            "name": "Create Application",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://openrainbow.com/api/rainbow/applications/v1.0/applications",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Register a new Rainbow application to obtain API credentials."
        },
        {
          "info": {
            "name": "Get Application",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://openrainbow.com/api/rainbow/applications/v1.0/applications/:appId",
            "params": [
              {
                "name": "appId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the application"
              }
            ]
          },
          "docs": "Returns the details of a specific registered application."
        },
        {
          "info": {
            "name": "Delete Application",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://openrainbow.com/api/rainbow/applications/v1.0/applications/:appId",
            "params": [
              {
                "name": "appId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the application"
              }
            ]
          },
          "docs": "Delete a registered application and revoke its credentials."
        }
      ]
    },
    {
      "info": {
        "name": "Authentication",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get OAuth Token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://openrainbow.com/api/rainbow/oauth/token",
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "grant_type",
                  "value": ""
                },
                {
                  "name": "client_id",
                  "value": ""
                },
                {
                  "name": "client_secret",
                  "value": ""
                },
                {
                  "name": "username",
                  "value": ""
                },
                {
                  "name": "password",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Exchange application credentials for a Bearer token to authenticate API requests. Supports client_credentials and password grant types."
        }
      ]
    }
  ],
  "bundled": true
}