Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finalize HTTP API #207

Open
FRosner opened this issue May 4, 2017 · 0 comments
Open

Finalize HTTP API #207

FRosner opened this issue May 4, 2017 · 0 comments
Milestone

Comments

@FRosner
Copy link
Owner

FRosner commented May 4, 2017

Questions

Avoid Duplicate Instances and Templates

  • Should /instances return a dictionary instead of a list to not allow duplicate instance IDs?
  • Should /templates return a dictionary instead of a list to not allow duplicate template IDs?

The problem is that in JSON there are no maps. There are only objects. And objects have strict rules which keys are valid. These rules do not correspond with Nomads rules for job names so you cannot simply return a JSON map.

@FRosner FRosner added this to the 1.0.0 milestone May 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant