This repository has been archived by the owner on Jun 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 199
Systems: Get localized names and descriptions via API #589
Comments
maicol07
changed the title
Systems: Get localized names instead of IDs via API
Systems: Get localized names and descriptions via API
Jul 20, 2020
At the moment, with 0.5 the api call to the systems endpoint is like this: Call to https://demo.statusfy.co/static/content/api/v0/systems.en.json Response: [
{
"name": "cdn",
"status": "partial-outage",
"order": 1
},
{
"name": "conversions",
"status": "partial-outage",
"order": 2
},
{
"name": "site-delivery",
"status": "operational",
"order": 3
},
{
"name": "api",
"status": "partial-outage",
"order": 4
}
] What I request is to edit this to: {
"id": "cdn",
"name": "CDN",
"status": "partial-outage",
"order": 1
},
{
"id": "conversions",
"name": "Conversions",
"status": "partial-outage",
"order": 2
},
{
"id": "site-delivery",
"name": "Site delivery",
"status": "operational",
"order": 3
},
{
"id": "api",
"name": "API",
"status": "partial-outage",
"order": 4
}
] So the translated name for each system. At the moment changing the locale in the endpoint does not make any difference. The |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Feature request
What problem does this feature solve?
The systems API endpoint returns ids, not localized names and descriptions
What does the proposed API look like?
See above
How should this be implemented in your opinion?
Using the localized files, add to the json files the localized names and descriptions of each system (keeping the id)
Are you willing to work on this yourself?**
No, as I don't know Vue
The text was updated successfully, but these errors were encountered: