jrxFive / python-nomad

Client library Hashicorp Nomad
https://python-nomad.readthedocs.io/en/latest/
MIT License
139 stars 73 forks source link

Why split the allocation and allocations api in two modules? #84

Closed perklet closed 5 years ago

perklet commented 5 years ago

They are the same API endpoint AFAIK

jonathanrcross commented 5 years ago

There are two different paths:

/v1/allocations https://www.nomadproject.io/api/allocations.html#list-allocations /v1/allocation https://www.nomadproject.io/api/allocations.html#read-allocation, and the remainder of the allocation endpoint