{ "opencollection": "1.0.0", "info": { "name": "DalCor Pharmaceuticals Content API (WordPress REST API) Media API", "version": "wp/v2" }, "items": [ { "info": { "name": "Media", "type": "folder" }, "items": [ { "info": { "name": "List media library items", "type": "http" }, "http": { "method": "GET", "url": "https://dalcorpharma.com/wp-json/wp/v2/media", "params": [ { "name": "context", "value": "", "type": "query", "description": "Scope under which the request is made; determines fields present in the response. `edit` requires authentication and returns 401 anonymously." }, { "name": "page", "value": "", "type": "query", "description": "Current page of the collection." }, { "name": "per_page", "value": "", "type": "query", "description": "Maximum number of items to be returned in the result set." }, { "name": "search", "value": "", "type": "query", "description": "Limit results to those matching a string." }, { "name": "after", "value": "", "type": "query", "description": "Limit response to items published after a given ISO 8601 date." }, { "name": "before", "value": "", "type": "query", "description": "Limit response to items published before a given ISO 8601 date." }, { "name": "exclude", "value": "", "type": "query", "description": "Ensure the result set excludes specific IDs." }, { "name": "include", "value": "", "type": "query", "description": "Limit the result set to specific IDs." }, { "name": "offset", "value": "", "type": "query", "description": "Offset the result set by a specific number of items." }, { "name": "order", "value": "", "type": "query", "description": "Order sort attribute ascending or descending." }, { "name": "slug", "value": "", "type": "query", "description": "Limit the result set to items with one or more specific slugs." }, { "name": "_fields", "value": "", "type": "query", "description": "Sparse fieldset — comma-separated list of top-level fields to return, e.g. `_fields=id,slug,title,link,date`." }, { "name": "wpml_language", "value": "", "type": "query", "description": "WPML language code. The site publishes an English and a French edition; `en` returns 24 posts / 17 pages and `fr` returns 6 posts / 15 pages (observed 2026-08-04)." }, { "name": "media_type", "value": "", "type": "query", "description": "Limit result set to attachments of a particular media type." }, { "name": "mime_type", "value": "", "type": "query", "description": "Limit result set to attachments of a particular MIME type." } ] }, "docs": "54 attachments observed on 2026-08-04 — logos, trial poster assets and PDFs." }, { "info": { "name": "Get a single media item", "type": "http" }, "http": { "method": "GET", "url": "https://dalcorpharma.com/wp-json/wp/v2/media/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Unique integer identifier for the object." }, { "name": "context", "value": "", "type": "query", "description": "Scope under which the request is made; determines fields present in the response. `edit` requires authentication and returns 401 anonymously." }, { "name": "_fields", "value": "", "type": "query", "description": "Sparse fieldset — comma-separated list of top-level fields to return, e.g. `_fields=id,slug,title,link,date`." } ] }, "docs": "Get a single media item" } ] } ], "bundled": true }