/services/{id}                        [ GET ]


Get a micro service information. Please note that this call only returns the service meta info data such as id, audit log, type etc. To get a full specification of a given version of this service (yaml specification, service agents mapping, full description..) you have to call Get service version details.

URL Parameters


Name Optional Valid values
id No Identifier of an existing services (e.g. my_service)


Request Examples      


curl -k -u admin:admin https://OPERETOHOST/services/my_service


       

Response Example     

{
  "status": "success",
  "data": {
    "versions": [ 
        "1.0",
        "default"
    ],
    "audit": [
      {
        "action": "add",
        "source": "admin",
        "text": "Version [default] has been created",
        "ts": "2016-08-08T09:30:47.363034",
        "level": "info"
      },
      {
        "action": "delete",
        "source": "admin",
        "level": "info",
        "ts": "2016-08-13T07:31:42.430923",
        "text": "Version [1.1.0] has been deleted."
      },
      {
        "action": "add",
        "source": "admin",
        "text": "Version [1.1.1] has been created",
        "ts": "2016-08-13T07:38:39.280870",
        "level": "production"
      },
      {
        "action": "delete",
        "source": "admin",
        "level": "info",
        "ts": "2016-08-13T07:40:16.502618",
        "text": "Version [1.1.1] has been deleted."
      }
    ],
    "modified_date": "2016-12-16T16:00:23.289341",
    "id": "hello_world",
    "type": "action"
    }
  }
}