Advertisement
alvise72

Untitled

Nov 18th, 2015
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.94 KB | None | 0 0
  1. dorigoa@lxadorigo 14:08:01 ~>curl -k -u admin:smartvm https://10.64.14.20/api/providers | python -m json.tool
  2.  
  3. {
  4.     "actions": [
  5.         {
  6.             "href": "https://10.64.14.20/api/providers",
  7.             "method": "post",
  8.             "name": "create"
  9.         },
  10.         {
  11.             "href": "https://10.64.14.20/api/providers",
  12.             "method": "post",
  13.             "name": "edit"
  14.         },
  15.         {
  16.             "href": "https://10.64.14.20/api/providers",
  17.             "method": "post",
  18.             "name": "refresh"
  19.         },
  20.         {
  21.             "href": "https://10.64.14.20/api/providers",
  22.             "method": "post",
  23.             "name": "delete"
  24.         }
  25.     ],
  26.     "count": 2,
  27.     "name": "providers",
  28.     "resources": [
  29.         {
  30.             "href": "https://10.64.14.20/api/providers/1"
  31.         },
  32.         {
  33.             "href": "https://10.64.14.20/api/providers/2"
  34.         }
  35.     ],
  36.     "subcount": 2
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement