{
  "opencollection": "1.0.0",
  "info": {
    "name": "Edge Impulse OrganizationPortals API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-api-key",
      "value": "{{x-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "OrganizationPortals",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List upload portals",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://studio.edgeimpulse.com/v1/api/organizations/:organizationId/portals",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              }
            ]
          },
          "docs": "Retrieve all configured upload portals."
        },
        {
          "info": {
            "name": "Retrieve upload portal information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://studio.edgeimpulse.com/v1/api/organizations/:organizationId/portals/:portalId",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              },
              {
                "name": "portalId",
                "value": "",
                "type": "path",
                "description": "Portal ID"
              }
            ]
          },
          "docs": "Retrieve a single upload portals identified by ID."
        },
        {
          "info": {
            "name": "Verify upload portal information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://studio.edgeimpulse.com/v1/api/organizations/:organizationId/portals/:portalId/verify",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              },
              {
                "name": "portalId",
                "value": "",
                "type": "path",
                "description": "Portal ID"
              }
            ]
          },
          "docs": "Retrieve a subset of files from the portal, to be used in the data source wizard."
        },
        {
          "info": {
            "name": "Create upload portal",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://studio.edgeimpulse.com/v1/api/organizations/:organizationId/portals/create",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new upload portal for the organization."
        },
        {
          "info": {
            "name": "Update upload portal",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://studio.edgeimpulse.com/v1/api/organizations/:organizationId/portals/:portalId/update",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              },
              {
                "name": "portalId",
                "value": "",
                "type": "path",
                "description": "Portal ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an upload portal for the organization."
        },
        {
          "info": {
            "name": "Rotate upload portal token",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://studio.edgeimpulse.com/v1/api/organizations/:organizationId/portals/:portalId/rotate-token",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              },
              {
                "name": "portalId",
                "value": "",
                "type": "path",
                "description": "Portal ID"
              }
            ]
          },
          "docs": "Rotates the token for an upload portal."
        },
        {
          "info": {
            "name": "Delete upload portal",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://studio.edgeimpulse.com/v1/api/organizations/:organizationId/portals/:portalId/delete",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              },
              {
                "name": "portalId",
                "value": "",
                "type": "path",
                "description": "Portal ID"
              }
            ]
          },
          "docs": "Deletes an upload portal for the organization."
        }
      ]
    }
  ],
  "bundled": true
}