Get Catalog Time Frames All
GET/inventory/v1/catalog/time-frame
Get all Time Frames.
Request
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
- CacheInfo
time_frames
object
Time Frames mapped by Time Frame ID.
property name*
TimeFrame
Time Frames are used to calculate the expiration of Inventory
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
cache_info
object
Cache info for the Time Frames.
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
{
"time_frames": {},
"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"
}
]
}