Fields
Shows the field definitions in MediaBeacon
Defined in: fields.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Fields()
Displays all of the field definitions in MediaBeacon with their name mappings
based on user's view level and all visible forms in the valid ACLs of the user's groups.
|
Class Detail
Fields()
Displays all of the field definitions in MediaBeacon with their name mappings
based on user's view level and all visible forms in the valid ACLs of the user's groups.
Note: To retrieve all fields, use an API key that is linked to an account that belongs to a group with a high view level and has an ACL with all the fields within visible forms.
Note: To retrieve all fields, use an API key that is linked to an account that belongs to a group with a high view level and has an ACL with all the fields within visible forms.
- Returns:
- {fieldId: string; name: string; type: string; namespace: string; mapped_namespace: string; mapped_name: string; is_container: boolean}
/wf/restapi/v2/fields
Parameters:
Response:
[
{
"fieldId": "http://purl.org/dc/elements/1.1/ subject",
"name": "subject",
"type": "list_string",
"namespace": "http://purl.org/dc/elements/1.1/",
"mapped_namespace": "Dublin Core Properties",
"mapped_name": "Keywords",
"is_container": true
},
{
"fieldId": "http://purl.org/dc/elements/1.1/ title",
"name": "title",
"type": "string",
"namespace": "http://purl.org/dc/elements/1.1/",
"mapped_namespace": "Dublin Core Properties",
"mapped_name": "Title",
"is_container": false
},
{
"fieldId": "http://purl.org/dc/elements/1.1/ type",
"name": "type",
"type": "list_string",
"namespace": "http://purl.org/dc/elements/1.1/",
"mapped_namespace": "Dublin Core Properties",
"mapped_name": "Document Type",
"is_container": true
},...
]