Unsolved
This post is more than 5 years old
2 Posts
0
1049
February 4th, 2016 13:00
string marker in metering API?
Hello,
Anybody can explain what is in metering API, for example - to get usage for all buckets in namespace
GET /object/billing/namespace/{namespace_name}/info?marker= &include_bucket_detail= &sizeunit=
Thank you
No Events found!
vlyamtsev
2 Posts
0
February 5th, 2016 07:00
Don't really understand this: would my first call include marker as empty string:
/object/billing/namespace/{namespace_name}/info?marker=""&include_bucket_detail= &sizeunit=
Or, would it just omit it?
/object/billing/namespace/{namespace_name}/info?include_bucket_detail= &sizeunit=
benschumacher
1 Rookie
•
75 Posts
0
February 5th, 2016 07:00
On you first call, the marker querystring will be empty. However, you will notice in the response (of the firs call) that a value is returned in a field called next_marker. Pass the next_marker value as your marker in subsequent requests to continue traversing the list.
-Ben
benschumacher
1 Rookie
•
75 Posts
0
February 5th, 2016 08:00
You can just omit the marker querystring on your first call as this field is optional.
-Ben