Returns the specified users location
GET/v1/users/assets/locations
Returns the specified users location
Request
Query Parameters
Filters can be combined with AND, OR operators with field path name. Eg: metadata.name=TestServiceANDspec.cloudType=aws
Server will be restricted to certain fields based on the indexed data for each resource.
Specify the fields with sort order. 1 indicates ascending and -1 for descending. Eg: orderBy=metadata.name=1,metadata.uid=-1
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
items
object[]
required
List of locations
metadata
object
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
annotations
object
Annotations are system generated key value metadata for the resource. As an input certain annotations like description can be set.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
labels
object
Labels are key value data to organize and categorize resources. Providing spectro__tag as value for a label is considered as a kubernetes compliant tag
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Name of the resource.
UID is the unique identifier generated for the resource. This is not an input field for any request.
spec
object
Location specification
Possible values: [s3
, gcp
, minio
]
Default value: s3
Location type
{
"items": [
{
"metadata": {
"annotations": {},
"creationTimestamp": "2024-04-16T17:49:02.917Z",
"deletionTimestamp": "2024-04-16T17:49:02.917Z",
"labels": {},
"lastModifiedTimestamp": "2024-04-16T17:49:02.917Z",
"name": "string",
"uid": "string"
},
"spec": {
"isDefault": true,
"storage": "s3",
"type": "string"
}
}
]
}