Skip to main content
Skip table of contents

Import settings [VC 21.3 GEN]

Import settings profiles can be used to add access controls to items that are being imported.

Managing import settings

Create an import profile

POST /import/settings

Creates a new settings profile with the given settings.

Accepts:
Produces:
  • application/xml, application/json – An ImportSettingsDocument containing the the settings profile together with its id.

Role:

_import

Example

NONE
POST /import/settings
Content-Type: application/xml

<ImportSettingsDocument xmlns="http://xml.vidispine.com/schema/vidispine">
   <access>
      <permission>READ</permission>
      <user>myuser</user>
   </access>
</ImportSettingsDocument>
HTML/XML
<ImportSettingsDocument xmlns="http://xml.vidispine.com/schema/vidispine">
   <id>VX-4</id>
   <access>
      <permission>READ</permission>
      <user>myuser</user>
   </access>
</ImportSettingsDocument>

List all import profiles

GET /import/settings

Retrieves a list of all profiles.

Produces:
  • application/xml, application/json – A URIListDocument containing the ids of all profiles.

  • text/plain – CRLF-delimited list of ids

Role:

_import

Example

NONE
GET /import/settings
HTML/XML
<URIListDocument xmlns="http://xml.vidispine.com/schema/vidispine">
   <uri>VX-1</uri>
   <uri>VX-2</uri>
   <uri>VX-3</uri>
   <uri>VX-4</uri>
</URIListDocument>

Retrieve an import profile

GET /import/settings/(settings-id)

Retrieves the settings specified by a certain profile.

Produces:
Role:

_import

Example

NONE
GET /import/settings/VX-4
HTML/XML
<ImportSettingsDocument xmlns="http://xml.vidispine.com/schema/vidispine">
   <id>VX-4</id>
   <access>
      <permission>READ</permission>
      <user>myuser</user>
   </access>
</ImportSettingsDocument>

Update an import profile

PUT /import/settings/(settings-id)

Changes the settings of the specified profile.

Accepts:
Role:

_import

Example

NONE
PUT /import/settings/VX-4
Content-Type: application/xml

<ImportSettingsDocument xmlns="http://xml.vidispine.com/schema/vidispine">
   <access>
      <permission>WRITE</permission>
      <user>myuser</user>
   </access>
</ImportSettingsDocument>
NONE
200 OK

Delete an import profile

DELETE /import/settings/(settings-id)

Deletes the profile with specified id.

Role:

_import

Example

NONE
DELETE /import/settings/VX-4
NONE
200 OK
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.