Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titlePOST
linenumberstrue
POST/PUT
URL: /v2/register-microservices
POST BODY:
{
  "name": "HPA-Placement-Controller",
  "ip-address": "10.7.100.4",
  "port": 8800
}

...

Code Block
languagebash
titleGET, DELETE
linenumberstrue
GET
URL: /v2/register-microservices/{microservice-name}

RETURN STATUS: 200
RETURN BODY: 
{
  "name": "HPA-Placement-Controller",
  "ip-address": "10.7.100.4",
  "port": 8800
}


DELETE
URL: /v2/register-microservices/{microservice-name}

RETURN STATUS: 204

...