Get document attribute by key
GET/documents/:documentId/attributes/:attributeKey
Get a document attribute by using its key
Request
Path Parameters
documentId stringrequired
Document Identifier
attributeKey stringrequired
Attribute Key
Query Parameters
siteId string
Site Identifier
Responses
- 200
200 OK
Response Headers
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
- application/json
- Schema
- Example (from schema)
Schema
attribute
object
key string
Attribute key
stringValue string
Attribute with string value
stringValues string[]
Attribute with string values
numberValue number
Attribute with number value
numberValues number[]
Attribute with number values
booleanValue boolean
Attribute with boolean value
insertedDate string
Inserted Timestamp
userId string
User who added attribute
valueType AttributeValueType (string)
Attribute Value Type
Possible values: [BOOLEAN
, KEY_ONLY
, NUMBER
, STRING
, PUBLICATION
, CLASSIFICATION
, COMPOSITE_STRING
, RELATIONSHIPS
, WATERMARK
]
{
"attribute": {
"key": "string",
"stringValue": "string",
"stringValues": [
"string"
],
"numberValue": 0,
"numberValues": [
0
],
"booleanValue": true,
"insertedDate": "string",
"userId": "string",
"valueType": "BOOLEAN"
}
}
Loading...