Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

A few CDC Enhancements #34

Open
tho1-cdc opened this issue Oct 29, 2013 · 0 comments
Open

A few CDC Enhancements #34

tho1-cdc opened this issue Oct 29, 2013 · 0 comments

Comments

@tho1-cdc
Copy link

At CDC we have been working developers at HHS and codeveloping our new API with this specification on our Content Services project. We have two suggested enhancements.

  1. Allowing for multiple message returns in the JSON return set to provide independent information for bulk actions and where possible deeper information to the caller.
    "status":200,"message":[],
  2. Move the pagination information into a separate structure to better delineate it and provide more navigation information.

pagination":{"count":3384,
"offset":0,
"page":1,
"max":2,
"totalPages":1692,
"sort":"datepublished Desc",
"currentUri":"http://prototype.cdc.gov/api/v1/resources/media/?max=2",
"previousUri":null,
"nextUri":"http://prototype.cdc.gov/api/v1/resources/media/?max=2&page=2&rsid=e5f13d08-fd94-413e-ae0e-9112c5c88415"}
}

arowla pushed a commit to arowla/api-standards that referenced this issue Oct 29, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant