[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Upcoming changes to REST API in version 1.6



This is a head up on upcoming changes to the REST API in version 1.6.

The addition of accessing applications directly by ID

Old way (still supported)

  curl -k https://hostname/broker/rest/domains/domain_name/applications/app_name

New way (note not going through domain)

curl -k https://hostname/broker/rest/applications/app_id

Changes to application resource returned from the API in version 1.6
- changed uuid to id
- changes to links returned with the application resource.  

  * retrieve application by ID (short URL) the href for the links will be in short format

  * retrieve application by name using the domain (long URL)
    - if version set to 1.5 or earlier then no change
    - if version set to 1.6 or later.  Stay tuned for an update.  It is still being discussed.

Changes to domain resource returned from the API in version 1.6
- changed id to name
- Validation errors returned from API will have the field attribute set to "name" instead of "id"

Changes to gear groups resource returned from the API
- changed uuid to id

Please let me know if you have any questions.
Lili


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]