v1

latestSwagger 2.02026-07-17312885.5 KB
BillingHistory

Get namespace billing history list

Get the billing history namespace list from the database

post/account/v1alpha1/namespaces

Request body

endTimestring
kubeConfigstring
ownerstring
startTimestring
tokenstring
typeinteger

@Summary Type of the request (optional) @Description Type of the request (optional) @JSONSchema

userIDstring
userUIDstring

Example request

{
  "endTime": "2021-12-01T00:00:00Z",
  "owner": "admin",
  "startTime": "2021-01-01T00:00:00Z",
  "token": "token",
  "userID": "admin",
  "userUID": "user-123"
}

Response

successfully retrieved namespace billing history list

liststring[]

Example response

{
  "list": [
    "[\"ns-admin\"",
    "\"ns-test1\"]"
  ]
}