latest

GET /appClients

Header name

Header value

Authorization

Bearer <your access token here>

x-api-key

<your api key here>

Query name

Query value

nextToken

String value as returned by a previous list operation

maxResults

Integer representing maximum number of resources to list

Response body JSON Schema

{
"title": "appClients",
"required": [
"appClients",
"nextToken"
],
"type": "object",
"properties": {
"nextToken": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"appClients": {
"type": "array",
"items": {
"required": [
"apiKey",
"appClientId",
"callbackUrls",
"clientId",
"createdTime",
"defaultLoginUrl",
"description",
"hasSecret",
"loginUrls",
"logoutUrls",
"name"
],
"type": "object",
"properties": {
"hasSecret": {
"type": "boolean"
},
"clientId": {
"type": "string"
},
"apiKey": {
"type": "string"
},
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"logoutUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"createdTime": {
"pattern": "^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$",
"type": "string",
"nullable": true
},
"callbackUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"clientSecret": {
"type": "string"
},
"loginUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"appClientId": {
"pattern": "^las:app-client:[a-f0-9]{32}$",
"type": "string"
},
"defaultLoginUrl": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}

POST /appClients

Header name

Header value

Content-Type

application/json

Authorization

Bearer <your access token here>

x-api-key

<your api key here>

Request body JSON Schema

{
"title": "POST /appClients",
"type": "object",
"properties": {
"generateSecret": {
"type": "boolean",
"default": true
},
"logoutUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"callbackUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"loginUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"defaultLoginUrl": {
"type": "string"
}
},
"additionalProperties": false
}

Response body JSON Schema

{
"title": "appClient",
"required": [
"apiKey",
"appClientId",
"callbackUrls",
"clientId",
"createdTime",
"defaultLoginUrl",
"description",
"hasSecret",
"loginUrls",
"logoutUrls",
"name"
],
"type": "object",
"properties": {
"hasSecret": {
"type": "boolean"
},
"clientId": {
"type": "string"
},
"apiKey": {
"type": "string"
},
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"logoutUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"createdTime": {
"pattern": "^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$",
"type": "string",
"nullable": true
},
"callbackUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"clientSecret": {
"type": "string"
},
"loginUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"appClientId": {
"pattern": "^las:app-client:[a-f0-9]{32}$",
"type": "string"
},
"defaultLoginUrl": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
}

DELETE /appClients/{appClientId}

Path name

Path value

appClientId

Id of appClient on the form las:appClient:<hex>

Header name

Header value

Authorization

Bearer <your access token here>

x-api-key

<your api key here>

Response body JSON Schema

{
"title": "appClient",
"required": [
"apiKey",
"appClientId",
"callbackUrls",
"clientId",
"createdTime",
"defaultLoginUrl",
"description",
"hasSecret",
"loginUrls",
"logoutUrls",
"name"
],
"type": "object",
"properties": {
"hasSecret": {
"type": "boolean"
},
"clientId": {
"type": "string"
},
"apiKey": {
"type": "string"
},
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"logoutUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"createdTime": {
"pattern": "^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$",
"type": "string",
"nullable": true
},
"callbackUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"clientSecret": {
"type": "string"
},
"loginUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"appClientId": {
"pattern": "^las:app-client:[a-f0-9]{32}$",
"type": "string"
},
"defaultLoginUrl": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
}

PATCH /appClients/{appClientId}

Path name

Path value

appClientId

Id of appClient on the form las:appClient:<hex>

Header name

Header value

Content-Type

application/json

Authorization

Bearer <your access token here>

x-api-key

<your api key here>

Request body JSON Schema

{
"title": "PATCH /appClients/{appClientId}",
"minProperties": 1,
"type": "object",
"properties": {
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"loginUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"defaultLoginUrl": {
"type": "string"
}
},
"additionalProperties": false
}

Response body JSON Schema

{
"title": "appClient",
"required": [
"apiKey",
"appClientId",
"callbackUrls",
"clientId",
"createdTime",
"defaultLoginUrl",
"description",
"hasSecret",
"loginUrls",
"logoutUrls",
"name"
],
"type": "object",
"properties": {
"hasSecret": {
"type": "boolean"
},
"clientId": {
"type": "string"
},
"apiKey": {
"type": "string"
},
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"logoutUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"createdTime": {
"pattern": "^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$",
"type": "string",
"nullable": true
},
"callbackUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"clientSecret": {
"type": "string"
},
"loginUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"appClientId": {
"pattern": "^las:app-client:[a-f0-9]{32}$",
"type": "string"
},
"defaultLoginUrl": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
}

GET /assets

Header name

Header value

Authorization

Bearer <your access token here>

x-api-key

<your api key here>

Query name

Query value

nextToken

String value as returned by a previous list operation

maxResults

Integer representing maximum number of resources to list

Response body JSON Schema

{
"title": "assets",
"required": [
"assets",
"nextToken"
],
"type": "object",
"properties": {
"assets": {
"type": "array",
"items": {
"required": [
"assetId",
"description",
"name"
],
"type": "object",
"properties": {
"assetId": {
"pattern": "^las:asset:[a-f0-9]{32}$",
"type": "string"
},
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"content": {
"minLength": 1,
"type": "string"
}
},
"additionalProperties": false
}
},
"nextToken": {
"maxLength": 4096,
"type": "string",
"nullable": true
}
},
"additionalProperties": false
}

POST /assets

Header name

Header value

Content-Type

application/json

Authorization

Bearer <your access token here>

x-api-key

<your api key here>

Request body JSON Schema

{
"title": "POST /assets",
"required": [
"content"
],
"type": "object",
"properties": {
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"content": {
"minLength": 1,
"type": "string"
}
},
"additionalProperties": false
}

Response body JSON Schema

{
"title": "asset",
"required": [
"assetId",
"description",
"name"
],
"type": "object",
"properties": {
"assetId": {
"pattern": "^las:asset:[a-f0-9]{32}$",
"type": "string"
},
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"content": {
"minLength": 1,
"type": "string"
}
},
"additionalProperties": false
}

DELETE /assets/{assetId}

Path name

Path value

assetId

Id of asset on the form las:asset:<hex>

Header name

Header value

Authorization

Bearer <your access token here>

x-api-key

<your api key here>

Response body JSON Schema

{
"title": "asset",
"required": [
"assetId",
"description",
"name"
],
"type": "object",
"properties": {
"assetId": {
"pattern": "^las:asset:[a-f0-9]{32}$",
"type": "string"
},
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"content": {
"minLength": 1,
"type": "string"
}
},
"additionalProperties": false
}

GET /assets/{assetId}

Path name

Path value

assetId

Id of asset on the form las:asset:<hex>

Header name

Header value

Authorization

Bearer <your access token here>

x-api-key

<your api key here>

Response body JSON Schema

{
"title": "asset",
"required": [
"assetId",
"description",
"name"
],
"type": "object",
"properties": {
"assetId": {
"pattern": "^las:asset:[a-f0-9]{32}$",
"type": "string"
},
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"content": {
"minLength": 1,
"type": "string"
}
},
"additionalProperties": false
}

PATCH /assets/{assetId}

Path name

Path value

assetId

Id of asset on the form las:asset:<hex>

Header name

Header value

Content-Type

application/json

Authorization

Bearer <your access token here>

x-api-key

<your api key here>

Request body JSON Schema

{
"title": "PATCH /assets/assetId",
"minProperties": 1,
"type": "object",
"properties": {
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"content": {
"minLength": 1,
"type": "string"
}
},
"additionalProperties": false
}

Response body JSON Schema

{
"title": "asset",
"required": [
"assetId",
"description",
"name"
],
"type": "object",
"properties": {
"assetId": {
"pattern": "^las:asset:[a-f0-9]{32}$",
"type": "string"
},
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"content": {
"minLength": 1,
"type": "string"
}
},
"additionalProperties": false
}

GET /batches

Header name

Header value

Authorization

Bearer <your access token here>

x-api-key

<your api key here>

Query name

Query value

nextToken

String value as returned by a previous list operation

maxResults

Integer representing maximum number of resources to list

Response body JSON Schema

{
"title": "batches",
"required": [
"batches",
"nextToken"
],
"type": "object",
"properties": {
"batches": {
"type": "array",
"items": {
"required": [
"batchId",
"containsPersonallyIdentifiableInformation",
"createdTime",
"description",
"numDocuments",
"retentionInDays",
"storageLocation"
],
"type": "object",
"properties": {
"retentionInDays": {
"maximum": 1825,
"minimum": 0,
"type": "integer"
},
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"createdTime": {
"pattern": "^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$",
"type": "string",
"nullable": true
},
"storageLocation": {
"type": "string",
"enum": [
"EU"
]
},
"containsPersonallyIdentifiableInformation": {
"type": "boolean"
},
"batchId": {
"pattern": "^las:batch:[a-f0-9]{32}$",
"type": "string"
},
"numDocuments": {
"minimum": 0,
"type": "integer"
}
},
"additionalProperties": false
}
},
"nextToken": {
"maxLength": 4096,
"type": "string",
"nullable": true
}
},
"additionalProperties": false
}

POST /batches

Header name

Header value

Content-Type

application/json

Authorization

Bearer <your access token here>

x-api-key

<your api key here>

Request body JSON Schema

{
"title": "POST /batches",
"type": "object",
"properties": {
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"containsPersonallyIdentifiableInformation": {
"type": "boolean"
}
},
"additionalProperties": false
}

Response body JSON Schema

{
"title": "batch",
"required": [
"batchId",
"containsPersonallyIdentifiableInformation",
"createdTime",
"description",
"numDocuments",
"retentionInDays",
"storageLocation"
],
"type": "object",
"properties": {
"retentionInDays": {
"maximum": 1825,
"minimum": 0,
"type": "integer"
},
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"createdTime": {
"pattern": "^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$",
"type": "string",
"nullable": true
},
"storageLocation": {
"type": "string",
"enum": [
"EU"
]
},
"containsPersonallyIdentifiableInformation": {
"type": "boolean"
},
"batchId": {
"pattern": "^las:batch:[a-f0-9]{32}$",
"type": "string"
},
"numDocuments": {
"minimum": 0,
"type": "integer"
}
},
"additionalProperties": false
}

DELETE /batches/{batchId}

Path name

Path value

batchId

Id of batch on the form las:batch:<hex>

Header name

Header value

Authorization

Bearer <your access token here>

x-api-key

<your api key here>

Response body JSON Schema

{
"title": "batch",
"required": [
"batchId",
"containsPersonallyIdentifiableInformation",
"createdTime",
"description",
"numDocuments",
"retentionInDays",
"storageLocation"
],
"type": "object",
"properties": {
"retentionInDays": {
"maximum": 1825,
"minimum": 0,
"type": "integer"
},
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"createdTime": {
"pattern": "^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$",
"type": "string",
"nullable": true
},
"storageLocation": {
"type": "string",
"enum": [
"EU"
]
},
"containsPersonallyIdentifiableInformation": {
"type": "boolean"
},
"batchId": {
"pattern": "^las:batch:[a-f0-9]{32}$",
"type": "string"
},
"numDocuments": {
"minimum": 0,
"type": "integer"
}
},
"additionalProperties": false
}

PATCH /batches/{batchId}

Path name

Path value

batchId

Id of batch on the form las:batch:<hex>

Header name

Header value

Content-Type

application/json

Authorization

Bearer <your access token here>

x-api-key

<your api key here>

Request body JSON Schema

{
"title": "PATCH /batches/{batchId}",
"minProperties": 1,
"type": "object",
"properties": {
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
}
},
"additionalProperties": false
}

Response body JSON Schema

{
"title": "batch",
"required": [
"batchId",
"containsPersonallyIdentifiableInformation",
"createdTime",
"description",
"numDocuments",
"retentionInDays",
"storageLocation"
],
"type": "object",
"properties": {
"retentionInDays": {
"maximum": 1825,
"minimum": 0,
"type": "integer"
},
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"createdTime": {
"pattern": "^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$",
"type": "string",
"nullable": true
},
"storageLocation": {
"type": "string",
"enum": [
"EU"
]
},
"containsPersonallyIdentifiableInformation": {
"type": "boolean"
},
"batchId": {
"pattern": "^las:batch:[a-f0-9]{32}$",
"type": "string"
},
"numDocuments": {
"minimum": 0,
"type": "integer"
}
},
"additionalProperties": false
}

GET /datasets

Header name

Header value

Authorization

Bearer <your access token here>

x-api-key

<your api key here>

Query name

Query value

nextToken

String value as returned by a previous list operation

maxResults

Integer representing maximum number of resources to list

Response body JSON Schema

{
"title": "datasets",
"required": [
"datasets",
"nextToken"
],
"type": "object",
"properties": {
"nextToken": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"datasets": {
"type": "array",
"items": {
"required": [
"containsPersonallyIdentifiableInformation",
"createdTime",
"datasetId",
"description",
"numberOfDocuments",
"retentionInDays",
"storageLocation",
"version"
],
"type": "object",
"properties": {
"updatedTime": {
"pattern": "^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$",
"type": "string",
"nullable": true
},
"retentionInDays": {
"maximum": 1825,
"minimum": 0,
"type": "integer"
},
"numberOfDocuments": {
"minimum": 0,
"type": "integer"
},
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"datasetId": {
"pattern": "^las:dataset:[a-f0-9]{32}$",
"type": "string"
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"createdTime": {
"pattern": "^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$",
"type": "string",
"nullable": true
},
"storageLocation": {
"type": "string",
"enum": [
"EU"
]
},
"containsPersonallyIdentifiableInformation": {
"type": "boolean"
},
"version": {
"minimum": 0,
"type": "integer"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}

POST /datasets

Header name

Header value

Content-Type

application/json

Authorization

Bearer <your access token here>

x-api-key

<your api key here>

Request body JSON Schema

{
"title": "POST /datasets",
"type": "object",
"properties": {
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"containsPersonallyIdentifiableInformation": {
"type": "boolean"
}
},
"additionalProperties": false
}

Response body JSON Schema

{
"title": "dataset",
"required": [
"containsPersonallyIdentifiableInformation",
"createdTime",
"datasetId",
"description",
"numberOfDocuments",
"retentionInDays",
"storageLocation",
"version"
],
"type": "object",
"properties": {
"updatedTime": {
"pattern": "^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$",
"type": "string",
"nullable": true
},
"retentionInDays": {
"maximum": 1825,
"minimum": 0,
"type": "integer"
},
"numberOfDocuments": {
"minimum": 0,
"type": "integer"
},
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"datasetId": {
"pattern": "^las:dataset:[a-f0-9]{32}$",
"type": "string"
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"createdTime": {
"pattern": "^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$",
"type": "string",
"nullable": true
},
"storageLocation": {
"type": "string",
"enum": [
"EU"
]
},
"containsPersonallyIdentifiableInformation": {
"type": "boolean"
},
"version": {
"minimum": 0,
"type": "integer"
}
},
"additionalProperties": false
}

DELETE /datasets/{datasetId}

Path name

Path value

datasetId

Id of dataset on the form las:dataset:<hex>

Header name

Header value

Authorization

Bearer <your access token here>

x-api-key

<your api key here>

Response body JSON Schema

{
"title": "dataset",
"required": [
"containsPersonallyIdentifiableInformation",
"createdTime",
"datasetId",
"description",
"numberOfDocuments",
"retentionInDays",
"storageLocation",
"version"
],
"type": "object",
"properties": {
"updatedTime": {
"pattern": "^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$",
"type": "string",
"nullable": true
},
"retentionInDays": {
"maximum": 1825,
"minimum": 0,
"type": "integer"
},
"numberOfDocuments": {
"minimum": 0,
"type": "integer"
},
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"datasetId": {
"pattern": "^las:dataset:[a-f0-9]{32}$",
"type": "string"
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"createdTime": {
"pattern": "^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$",
"type": "string",
"nullable": true
},
"storageLocation": {
"type": "string",
"enum": [
"EU"
]
},
"containsPersonallyIdentifiableInformation": {
"type": "boolean"
},
"version": {
"minimum": 0,
"type": "integer"
}
},
"additionalProperties": false
}

PATCH /datasets/{datasetId}

Path name

Path value

datasetId

Id of dataset on the form las:dataset:<hex>

Header name

Header value

Content-Type

application/json

Authorization

Bearer <your access token here>

x-api-key

<your api key here>

Request body JSON Schema

{
"title": "PATCH /datasets/{datasetId}",
"minProperties": 1,
"type": "object",
"properties": {
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
}
},
"additionalProperties": false
}

Response body JSON Schema

{
"title": "dataset",
"required": [
"containsPersonallyIdentifiableInformation",
"createdTime",
"datasetId",
"description",
"numberOfDocuments",
"retentionInDays",
"storageLocation",
"version"
],
"type": "object",
"properties": {
"updatedTime": {
"pattern": "^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$",
"type": "string",
"nullable": true
},
"retentionInDays": {
"maximum": 1825,
"minimum": 0,
"type": "integer"
},
"numberOfDocuments": {
"minimum": 0,
"type": "integer"
},
"name": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"datasetId": {
"pattern": "^las:dataset:[a-f0-9]{32}$",
"type": "string"
},
"description": {
"maxLength": 4096,
"type": "string",
"nullable": true
},
"createdTime": {
"pattern": "^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$",
"type": "string",
"nullable": true
},
"storageLocation": {
"type": "string",
"enum": [
"EU"
]
},
"containsPersonallyIdentifiableInformation": {
"type": "boolean"
},
"version": {
"minimum": 0,
"type": "integer"
}
},
"additionalProperties": false
}

DELETE /documents

Header name

Header value

Authorization

Bearer <your access token here>

x-api-key

<your api key here>

Query name

Query value

batchId

Id of batch on the form las:batch:<hex>

consentId

Id of consent on the form las:consent:<hex>

datasetId

String

nextToken

String value as returned by a previous list operation

maxResults

Integer representing maximum number of resources to list

Response body JSON Schema

{
"title": "documents",
"required": [
"documents",
"nextToken"
],
"type": "object",
"properties": {
"consentId": {
"type": "array",
"items": {
"pattern": "^las:consent:[a-f0-9]{32}$",
"type": "string"
}
},