Get Catalog Time Frame
GET/inventory/v1/catalog/time-frame/:time_frame_id
Get a specific Time Frame.
Request
Path Parameters
Header Parameters
If you provide the ETag that matches the current ETag for this content, will return a 304 response - indicating that the content has not changed.
Responses
- 200
- 304
- 403
- 404
- 422
Successful Response
Response Headers
ETag
string
Used to identify this version of the content. Provide with a get request to avoid downloading the same data multiple times.
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- CacheInfo
name
object
The name of the Time Frame.
anyOf
string
Whether or not the Time Frame is active.
Default value: 0
Default value: 0
Default value: 0
Number of hours that this time frame lasts until restarting.0 interval means no repeating.
The current start of the Time Frame.
The current end of the Time Frame.
cache_info
object
Cache info for the Time Frame.
anyOf
Cache information for the resource it is attached to. The etag value can be used with the If-None-Match and If-Match headers
Possible values: non-empty
{
"name": "string",
"active": false,
"hour_interval": 0,
"start": "2023-01-23T21:07:02.000000+00:00",
"end": "2023-01-23T21:07:02.000000+00:00",
"cache_info": {}
}
Content still has the same etag and has not changed
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}