Metadata
API Key Scope: task_metadata_definitions / index
Pass the username and password of a user in the authorization header. This currently gives full access.
The number of items to display for pagination.
The number of items to skip for pagination.
List of task metadata
GET /api/v2/task_metadata_definitions HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of task metadata
{
"count": 1,
"task_metadata_definitions": [
{
"id": 1,
"key": "my_metadata",
"name": "My Metadata",
"mandatory": 1,
"type": "input_text",
"comment": "text",
"apply_active_archive": 1,
"apply_offline_archive": 1,
"apply_data_migration": 1,
"apply_data_exchange": 1,
"apply_maintenance": 1
}
]
}API Key Scope: task_metadata_definitions / show
Pass the username and password of a user in the authorization header. This currently gives full access.
Numeric ID or key of a metadata definition
A specific task metadata
GET /api/v2/task_metadata_definitions/{metadata_definition_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
A specific task metadata
{
"id": 1,
"key": "my_metadata",
"name": "My Metadata",
"mandatory": 1,
"type": "input_text",
"comment": "text",
"apply_active_archive": 1,
"apply_offline_archive": 1,
"apply_data_migration": 1,
"apply_data_exchange": 1,
"apply_maintenance": 1
}API Key Scope: file_metadata_definitions / index
Pass the username and password of a user in the authorization header. This currently gives full access.
The number of items to display for pagination.
The number of items to skip for pagination.
List of file metadata
GET /api/v2/file_metadata_definitions HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of file metadata
{
"count": 1,
"file_metadata_definitions": [
{
"id": 1,
"key": "my_metadata",
"name": "My Metadata",
"mandatory": 1,
"type": "input_text",
"comment": "text"
}
]
}API Key Scope: file_metadata_definitions / show
Pass the username and password of a user in the authorization header. This currently gives full access.
Numeric ID or key of a metadata definition
A specific file metadata
GET /api/v2/file_metadata_definitions/{metadata_definition_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
A specific file metadata
{
"id": 1,
"key": "my_metadata",
"name": "My Metadata",
"mandatory": 1,
"type": "input_text",
"comment": "text"
}Last updated
Was this helpful?