OrganizationPortals

Create upload portal

Creates a new upload portal for the organization.

post/api/organizations/{organizationId}/portals/create

Request

Path parameters

organizationIdinteger required

Organization ID

Request body

namestring required

The name of the upload portal.

descriptionstring

The purpose and description of the upload portal.

bucketIdinteger required

The S3 bucket id to store the uploaded data. Set to '0' to select a bucket hosted by Edge Impulse.

bucketPathstring required

The path in the bucket the upload portal will write to.

Example request

{
  "name": "EdgeImpulse Inc.",
  "description": "EdgeImpulse Inc. Portal description",
  "bucketId": 1,
  "bucketPath": "/path/in/bucket"
}

Response

OK

successboolean required

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

idinteger required

Portal ID for the new upload portal

urlstring required

URL to the portal

signedUrlstring

pre-signed upload URL. Only set if using a non-built-in bucket.

bucketBucketstring

Only set if using a non-built-in bucket.

Changes

No recorded changes to this operation across all 1 revision of this API.