Skip to main content
POST
/
v1
/
segments
/
{segment}
:segmentAvailableSpace
Availablespace Segment
curl --request POST \
  --url https://flags.eu.confidence.dev/v1/segments/{segment}:segmentAvailableSpace \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "availableSpace": {},
  "relatedSegments": [
    "<string>"
  ],
  "reclaimableSpace": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

segment
string
required

Body

application/json

The body is of type object.

Response

200 - application/json

OK

availableSpace
object

The amount of space available to the segment.

The resource names of segments that coordinate with the current segment.

reclaimableSpace
object[]

The amount of space that would be returned if a specific segment is archived.

The key is the resource name of the segment. The value is the amount of space reclaimed.