Unsolved
2 Posts
0
3300
Get replicas Info by Emc Atmos rest Api
The rest api "/rest/objects/ ?info " can not return replicas status, such as "numReplicas" and "replicas", is there any ways to realize my requirement?
the emc atmos client version i used:
com.emc.vipr atmos-client 2.1.6
DELL-Sam L
Moderator
Moderator
•
7.1K Posts
0
June 17th, 2020 10:00
Hello Allen_J,
Here is the link to EMC Atmos Version 2.1.6 Programmer’s Guide & if you look on page 86-88 should be of assistance.
https://dell.to/2YIvWxp
Please let us know if you have any other questions.
Allen_J
2 Posts
0
June 18th, 2020 02:00
Hi Sam
After checked on the Programmer’s Guide, i foud that the rest api "rest/objects/objectId?info" will return the response like the below:
Request
GET /rest/objects/4b00fffea12059c104b00ffca1f8e804b040c4d911c9?info HTTP/1.1 Host: 10.32.89.193 accept:*/* date:Fri, 20 Nov 2009 05:47:29 GMT content-type:application/octet-stream x-emc-date:Fri, 20 Nov 2009 05:47:29 GMT x-emc-uid:e103f726a87d45abbd8d5f189a8cecfc/aaa x-emc-signature:u/kFWYGR2Uf1/xpIikY/nBAeFXg=
Response
HTTP/1.1 200 OK
Date: Fri, 20 Nov 2009 05:47:29 GMT Server: Apache x-emc-policy:_int
Content-Length: 723
Connection: close
Content-Type: text/xml
4b00fffea12059c104b00ffca1f8e804b040c4d911 c9
2
3
sync
true
Boston
Normal
5
sync
true
Boston
Normal
false
false
However, when i try on postman , it only return like the below:
so i doubt that is it because your api have upgraded to not support return replicas information?
if yes, do you have other api for me to get replicas information by objectId?
DELL-Sam L
Moderator
Moderator
•
7.1K Posts
0
June 19th, 2020 10:00
Hello Allen_J,
Here is the link to the only other API guide that I am aware of EMC Atmos Version 2.1.7 CAS API Reference Guide. https://dell.to/2UUQDoH
Please let us know if you have any other questions.
Marcelo_Mafra
1 Message
0
August 12th, 2020 14:00
Hi Allen,
Could you help me t use postman to bring some info from ECS Atmos API, I don´t know how to configure it do run query.