• FEATURES
  • PRICING
  • MARKETPLACE
  • CASE STUDIES
  • BLOG
  • HTTP 404 When retrieving CP via REST API

    When I try to retrive CP info via the REST API, I get HTTP 404 regardless of which CP ID I use. I am using this format as shown in the documentation: http[s]::/openspecimen/rest/ng/collection-protocols/{id}, using my own server and port and replacing {id} with IDs successfully retrived via the the Get All Collection Protocols (http[s]::/openspecimen/rest/ng/collection-protocols). Any idea why I get the 404 when the same URL minus the ID is successful?

    Hello @bob_lange

    In OpenSpecimen v1.0 and v1.1, only partial set of REST APIs have been implemented. The API to retrieve collection protocol details by ID or title is not implemented; therefore HTTP 404 error.

    OpenSpecimen v2.0, which we’re actively working on, will have full set of REST APIs implemented along with other awesome stuff.

    We’re sorry for the inconvenience caused. We’ll update our docs.

    Thank you.