Key attributes and extra attributes for a feed
GET /task/v1/feeds/{feed_key}/key-attributes
Operation id: getFeedKeyAttributes
Description
Retrieves key attributes for a feed in two groups: key_attr[] (display-worthy attributes) and extra_attr[] (internal configuration flags). Empty/null result → E404. Result is always wrapped in an array with one element.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
feed_key | Integer | Yes | Unique numeric feed identifier |
Response Structure
The response[] array contains one element with two named arrays:
[
{ "key_attr": [ {"id","type","key","desc","value","resource_key?"} ] },
{ "extra_attr": [ {"type","key","desc","value"} ] }
]
Attribute fields:
| Field | Type | Description |
|---|---|---|
id | String | Attribute sequence identifier (present in key_attr) |
type | String | FEED (feed-level) or I (instance-level) |
key | String | Attribute key name (e.g. displayStartDate, IN_MSG_Originator_Name) |
desc | String | Human-readable label (translated when available) |
value | String | Attribute value; URL-encoded for non-ASCII content; empty string if not set |
resource_key | String | i18n resource key; absent when not configured |
Error Scenarios
| Scenario | HTTP | Error Code | Message |
|---|---|---|---|
Missing / invalid X-reflexis-csrf-token-X | 401 | E202 | User session is invalid |
| Domain ID not resolvable | 400 | E101 | Domain id is mandatory |
| No key attributes found | 500 | E404 | No data found |
| Unexpected server-side error | 500 | E500 | Unexpected server error. |
Error Codes Reference
| Code | Description |
|---|---|
E101 | Domain ID is mandatory |
E202 | User session is invalid |
E404 | No data found |
E500 | Unexpected server error |
Tags: MyWorkFeeds
Parameters
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
feed_key | integer | Yes | Unique numeric feed identifier |
Security
- AuthTokenHeader (apiKey)
- Session authentication token validated server-side against the user session store.
Responses
200 — Success — {status, response[{key_attr[]}, {extra_attr[]}]}
Content type: application/json
400 — Invalid or missing request parameter
Content type: application/json
401 — Missing or invalid X-reflexis-csrf-token-X session token
Content type: application/json
500 — Unexpected server-side error
Content type: application/json
Response models
200 — Success — {status, response[{key_attr[]}, {extra_attr[]}]}
Content type: application/json
Schema
JSON object (structure varies by endpoint).
{
"type": "object",
"description": "JSON object (structure varies by endpoint)."
}
400 — Invalid or missing request parameter
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
status | string | Yes | Always "ER" for error responses |
errorCode | string | Yes | Application-level error code (e.g. E202, E105, E404) |
response | string | Yes | Human-readable error message |
{
"type": "object",
"example": {
"status": "ER",
"errorCode": "E202",
"response": "User session is invalid"
},
"required": [
"status",
"errorCode",
"response"
],
"properties": {
"status": {
"type": "string",
"description": "Always \"ER\" for error responses",
"enum": [
"ER"
]
},
"errorCode": {
"type": "string",
"description": "Application-level error code (e.g. E202, E105, E404)"
},
"response": {
"type": "string",
"description": "Human-readable error message"
}
}
}
401 — Missing or invalid X-reflexis-csrf-token-X session token
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
status | string | Yes | Always "ER" for error responses |
errorCode | string | Yes | Application-level error code (e.g. E202, E105, E404) |
response | string | Yes | Human-readable error message |
{
"type": "object",
"example": {
"status": "ER",
"errorCode": "E202",
"response": "User session is invalid"
},
"required": [
"status",
"errorCode",
"response"
],
"properties": {
"status": {
"type": "string",
"description": "Always \"ER\" for error responses",
"enum": [
"ER"
]
},
"errorCode": {
"type": "string",
"description": "Application-level error code (e.g. E202, E105, E404)"
},
"response": {
"type": "string",
"description": "Human-readable error message"
}
}
}
Example:
{
"status": "ER",
"errorCode": "E202",
"response": "User session is invalid"
}
500 — Unexpected server-side error
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
status | string | Yes | Always "ER" for error responses |
errorCode | string | Yes | Application-level error code (e.g. E202, E105, E404) |
response | string | Yes | Human-readable error message |
{
"type": "object",
"example": {
"status": "ER",
"errorCode": "E202",
"response": "User session is invalid"
},
"required": [
"status",
"errorCode",
"response"
],
"properties": {
"status": {
"type": "string",
"description": "Always \"ER\" for error responses",
"enum": [
"ER"
]
},
"errorCode": {
"type": "string",
"description": "Application-level error code (e.g. E202, E105, E404)"
},
"response": {
"type": "string",
"description": "Human-readable error message"
}
}
}
Example:
{
"status": "ER",
"errorCode": "E302",
"response": "Internal server error"
}