Sign up and get started with Confidence today! Create your account
Sign up and get started with Confidence today! Create your account
Compute a calendar view of space availability over time for a set of segments with prospective start and end dates. This allows planning segment allocation by showing how much space will be available on each date in the requested range.
curl --request POST \
--url https://flags.eu.confidence.dev/v1/segments:computeSegmentSpaceCalendar \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"startDate": {
"year": {},
"month": {},
"day": {}
},
"endDate": {
"year": {},
"month": {},
"day": {}
},
"segments": [
{
"segment": "<string>",
"startDate": {
"year": {},
"month": {},
"day": {}
},
"endDate": {
"year": {},
"month": {},
"day": {}
}
}
]
}
'{
"dailyAvailability": [
{
"date": {
"year": {},
"month": {},
"day": {}
},
"availableSpace": {
"value": "<string>"
},
"reclaimableSpace": [
{}
]
}
]
}Documentation Index
Fetch the complete documentation index at: https://confidence.spotify.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
OK
The space availability for each date in the requested range.
Show child attributes
Was this page helpful?
curl --request POST \
--url https://flags.eu.confidence.dev/v1/segments:computeSegmentSpaceCalendar \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"startDate": {
"year": {},
"month": {},
"day": {}
},
"endDate": {
"year": {},
"month": {},
"day": {}
},
"segments": [
{
"segment": "<string>",
"startDate": {
"year": {},
"month": {},
"day": {}
},
"endDate": {
"year": {},
"month": {},
"day": {}
}
}
]
}
'{
"dailyAvailability": [
{
"date": {
"year": {},
"month": {},
"day": {}
},
"availableSpace": {
"value": "<string>"
},
"reclaimableSpace": [
{}
]
}
]
}