{
  "opencollection": "1.0.0",
  "info": {
    "name": "AI Service Actions Admin Apps API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Admin Apps",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List apps",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/admin/apps",
            "params": [
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "filter",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List all apps. Requires an admin token."
        },
        {
          "info": {
            "name": "Get app detail",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/admin/apps/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get app detail across all vendors. Requires an admin token."
        },
        {
          "info": {
            "name": "Update app",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/admin/apps/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an app across vendors. Requires an admin token."
        },
        {
          "info": {
            "name": "Approve app publishing",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/admin/apps/:id/publish",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Approve a request to publish an app. Requires an admin token."
        },
        {
          "info": {
            "name": "Reject app publishing",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/admin/apps/:id/reject",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Reject a request to publish an app. Requires an admin token."
        },
        {
          "info": {
            "name": "List app changes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/admin/changes",
            "params": [
              {
                "name": "since",
                "value": "",
                "type": "query",
                "description": "Date in YYYY-MM-DD format, default is -24 hours"
              },
              {
                "name": "until",
                "value": "",
                "type": "query",
                "description": "Date in YYYY-MM-DD format, default is now"
              },
              {
                "name": "appId",
                "value": "",
                "type": "query",
                "description": "Return changes for the specified app only"
              }
            ]
          },
          "docs": "Returns list of last changes across all apps or a specified app. Requires an admin token."
        }
      ]
    }
  ],
  "bundled": true
}