deconst / content-service

An API for storing, indexing and retrieving documentation
MIT License
4 stars 9 forks source link

Accept/Return SHAs for multiple control repos. #67

Open ktbartholomew opened 8 years ago

ktbartholomew commented 8 years ago

Blocked by https://github.com/deconst/presenter/issues/92

GET /control should return something like this:

{
  "sha": {
    "nexus-control": "abcdef",
    "developer-deconst-control": "abcdef",
    "carina-deconst-control": "abcdef"
  }
}

This also means that PUT /control needs to accept a control repo ID string in addition to the checksum.