Skip to content

Add version data to /api/ response #72

@dannycohen

Description

@dannycohen

Add the ServiceControl version number to the SC /api/ response (http://localhost:33333/API/)

Notes:

  1. When checking for updates to ServiceControl, there's a need to compare the newly available version of ServiceControl in the Particular.net website (see https://github.com/Particular/Website.Backend/issues/133) to the existing version of ServiceControl (see Check for ServiceControl Updates ServicePulse#23).
  2. The current /api/ response (http://localhost:33333/API/) does not include a version identifier for the ServiceControl instance:
{"audit_url":"http://localhost:33333/api/audit/{?page,per_page,direction,sort}"
,"endpoints_audit_url":"http://localhost:33333/api/endpoints/{name}/audit/{?page,per_page,direction,sort}"
,"endpoints_url":"http://localhost:33333/api/endpoints"
,"errors_url":"http://localhost:33333/api/errors/{?page,per_page,direction,sort}"
,"endpoints_error_url":"http://localhost:33333/api/endpoints/{name}/errors/{?page,per_page,direction,sort}"
,"message_search_url":"http://localhost:33333/api/messages/search/{keyword}/{?page,per_page,direction,sort}"
,"endpoints_message_search_url":"http://localhost:33333/api/endpoints/{name}/messages/search/{keyword}/{?page,per_page,direction,sort}"
,"endpoints_messages_url":"http://localhost:33333/api/endpoints/{name}/messages/{?page,per_page,direction,sort}"
,"name":"Particular ServiceControl","description":"Description for Particular ServiceControl"}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions