MEDS Option Grids API Documentation Title

 
Dynamed Decisions

 

Browse our guides and interact with our API reference for more information about MEDSAPI DynaMed Decisions. Try MEDSAPI DynaMed Decisions and learn about core concepts.

 

 

 

 

Get All Tools

The DynaMed Decisions GET /v1/content/tools endpoint gets a list of all tools that a user has subscribed to.  Before you can execute a tools call, you must have an 'Authorization' token which is to be entered into the request header.  The response from the list API returns an id which can be used to retrieve the tool contents.  All tools are not available to all consumers.

Request

GET https://apis.ebsco.com/medsapi-dynamed-decisions/v1/content/tools?page=2&pageSize=10

Response

{
  "_metadata": {
    "totalItems": 2,
    "totalPages": 1,
    "page": 1,
    "pageSize": 10,
    "links": [
       {
           "rel": "self",
           "href": "https://apis.ebsco.com/medsapi-dynamed-decisions/v1/content/tools?page=2&pageSize=10"
       },
       {
           "rel": "first",
           "href": "https://apis.ebsco.com/medsapi-dynamed-decisions/v1/content/tools?page=1&pageSize=10"
       },
       {
           "rel": "next",
           "href": "https://apis.ebsco.com/medsapi-dynamed-decisions/v1/content/tools?page=3&pageSize=10"
       },
       {
           "rel": "prev",
           "href": "https://apis.ebsco.com/medsapi-dynamed-decisions/v1/content/tools?page=1&pageSize=10"
       },
       {
           "rel": "last",
           "href": "https://apis.ebsco.com/medsapi-dynamed-decisions/v1/content/tools?page=5&pageSize=10"
       }
    ]
  },
  "items": [
    {
      "id": "hip-osteoarthritis",
      "title": "Hip Osteoarthritis",
      "slug": "/hip-osteoarthritis",
      "description": "This tool is used to determine...",
      "links": [
        {
          "rel": "self",
          "href": "https://apis.ebsco.com/medsapi-dynamed-decisions/v1/content/tools/hip-osteoarthritis"
        }
      ]
    }
  ]
}

Retrieving Paginated Results

Results that come back from the request are paginated.  In the initial response of paginated results, the page field in the _metadata section indicates the next page to start with.  As a convenience, the results also include the HATEAOS links for retrieving the first, last, previous, and next.

Error Response Codes

The DynaMed Decisions GET all tools endpoint can return one of the error response codes .