openapi: 3.1.0 info: title: Cresilon Media API version: wp/v2 summary: Public read surface of the media library behind cresilon.com. description: Cresilon publishes its corporate website (cresilon.com) on WordPress (WordPress.com Atomic hosting, nginx) with the core WordPress REST API enabled and anonymously readable. This specification was DERIVED by discovering the live route index at https://cresilon.com/wp-json/ and probing each route for anonymous access; only routes verified to return HTTP 200 without credentials are documented here as public operations. Write operations exist on the same routes but require authentication (WordPress cookie + X-WP-Nonce, or Application Passwords) and are not documented here; anonymous requests to them return HTTP 401. This is NOT a product API offered by Cresilon to customers — Cresilon is a biotechnology and medical-device manufacturer, not a software vendor. This is the content API of their marketing site, captured for discovery purposes. This document covers the `attachment` type — product photography, TRAUMAGEL and VETIGEL imagery, Instructions For Use and clinical publication documents, video posters and press assets, each with the generated size variants WordPress produces. At time of capture the collection held 1,307 attachments. contact: name: Cresilon url: https://cresilon.com/contact-us/ email: info@cresilon.com license: name: Site content — all rights reserved, see Terms of Use url: https://cresilon.com/terms-of-use/ x-apis-io-provenance: method: derived source: https://cresilon.com/wp-json/ derived_on: '2026-08-04' note: Routes enumerated from the live wp-json discovery document (1,021 routes across 45 namespaces); every operation below was probed anonymously and returned HTTP 200. Schemas reflect the field set observed in live responses on 2026-08-04, including the `acf` (Advanced Custom Fields), Jetpack and `yoast_head_json` extensions this site adds. No fabricated operations or parameters. servers: - url: https://cresilon.com/wp-json description: Production tags: - name: Media description: Media library attachments — images, documents and video assets. paths: /wp/v2/media: get: tags: - Media operationId: listMedia summary: List media library items description: 'Returns a paginated collection of media library attachments behind cresilon.com — product photography, TRAUMAGEL and VETIGEL imagery, IFU and publication PDFs, video posters and press assets, with their generated size variants. Verified live 2026-08-04: X-WP-Total: 1307.' parameters: - $ref: '#/components/parameters/page' - $ref: '#/components/parameters/perPage' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/order' - $ref: '#/components/parameters/orderby' - $ref: '#/components/parameters/context' - $ref: '#/components/parameters/fields' - $ref: '#/components/parameters/include' - $ref: '#/components/parameters/exclude' - $ref: '#/components/parameters/offset' - name: media_type in: query description: Limit results to attachments of a particular media type. schema: type: string enum: - image - video - text - application - audio - file - name: mime_type in: query description: Limit results to attachments of a particular MIME type. schema: type: string - name: parent in: query description: Limit results to attachments of specific parent post IDs. schema: type: array items: type: integer responses: '200': description: A page of media attachments. headers: X-WP-Total: $ref: '#/components/headers/XWPTotal' X-WP-TotalPages: $ref: '#/components/headers/XWPTotalPages' Link: $ref: '#/components/headers/LinkPagination' content: application/json: schema: type: array items: $ref: '#/components/schemas/MediaItem' examples: firstPage: summary: First page of media items externalValue: https://cresilon.com/wp-json/wp/v2/media?per_page=1 '400': $ref: '#/components/responses/InvalidParam' /wp/v2/media/{id}: get: tags: - Media operationId: getMediaItem summary: Get a media library item description: 'Returns a single media attachment by its numeric WordPress attachment ID. Verified live: id 16942 is the site logo.' parameters: - $ref: '#/components/parameters/id' - $ref: '#/components/parameters/context' - $ref: '#/components/parameters/fields' responses: '200': description: The requested media item. content: application/json: schema: $ref: '#/components/schemas/MediaItem' '404': $ref: '#/components/responses/NotFound' components: parameters: id: name: id in: path required: true description: Unique numeric identifier for the object. schema: type: integer page: name: page in: query description: Current page of the collection. Defaults to 1. schema: type: integer minimum: 1 default: 1 perPage: name: per_page in: query description: 'Maximum number of items to be returned in the result set. Verified live: values outside 1-100 return HTTP 400 `rest_invalid_param`.' schema: type: integer minimum: 1 maximum: 100 default: 10 search: name: search in: query description: Limit results to those matching a string. schema: type: string order: name: order in: query description: Order sort attribute ascending or descending. schema: type: string enum: - asc - desc default: desc orderby: name: orderby in: query description: Sort collection by object attribute. schema: type: string enum: - author - date - id - include - modified - parent - relevance - slug - include_slugs - title default: date context: name: context in: query description: Scope under which the request is made; determines fields present in the response. Only `view` and `embed` are available anonymously — `edit` returns HTTP 401. schema: type: string enum: - view - embed default: view fields: name: _fields in: query description: Comma-separated list of fields to limit the response to. Verified live, e.g. `_fields=id,slug,link,title`. schema: type: string embed: name: _embed in: query description: Embed linked resources (author, featured media, terms) into the response. schema: type: boolean include: name: include in: query description: Limit result set to specific IDs. schema: type: array items: type: integer exclude: name: exclude in: query description: Ensure result set excludes specific IDs. schema: type: array items: type: integer offset: name: offset in: query description: Offset the result set by a specific number of items. schema: type: integer slugParam: name: slug in: query description: Limit results to items with one of the given slugs. schema: type: array items: type: string responses: NotFound: description: The requested object does not exist. content: application/json: schema: $ref: '#/components/schemas/Error' example: code: rest_post_invalid_id message: Invalid post ID. data: status: 404 InvalidParam: description: One or more query parameters failed validation. content: application/json: schema: $ref: '#/components/schemas/Error' example: code: rest_invalid_param message: 'Invalid parameter(s): per_page' data: status: 400 params: per_page: per_page must be between 1 (inclusive) and 100 (inclusive) Unauthorized: description: 'The route exists but requires authentication. Verified live: anonymous requests to privileged routes return this envelope with HTTP 401.' content: application/json: schema: $ref: '#/components/schemas/Error' example: code: rest_forbidden message: Sorry, you are not allowed to do that. data: status: 401 schemas: RenderedText: type: object description: WordPress rendered-text object. properties: rendered: type: string description: HTML-rendered value. required: - rendered MediaItem: type: object description: A media library attachment as returned anonymously. Field set observed live on 2026-08-04. properties: id: type: integer date: type: string format: date-time date_gmt: type: string format: date-time guid: $ref: '#/components/schemas/RenderedText' modified: type: string format: date-time modified_gmt: type: string format: date-time slug: type: string status: type: string type: type: string const: attachment link: type: string format: uri title: $ref: '#/components/schemas/RenderedText' author: type: integer comment_status: type: string ping_status: type: string template: type: string meta: type: object additionalProperties: true class_list: type: array items: type: string acf: oneOf: - type: object additionalProperties: true - type: array description: $ref: '#/components/schemas/RenderedText' caption: $ref: '#/components/schemas/RenderedText' alt_text: type: string media_type: type: string enum: - image - file mime_type: type: string example: image/jpeg media_details: type: object additionalProperties: true description: Width, height, filesize, generated `sizes` variants and image metadata. post: type: - integer - 'null' description: ID of the post this attachment is attached to. source_url: type: string format: uri description: Direct URL to the original uploaded file under /wp-content/uploads/. filename: type: string filesize: type: integer description: Size of the original file in bytes. featured_media: type: integer jetpack_shortlink: type: string format: uri jetpack_likes_enabled: type: boolean jetpack_sharing_enabled: type: boolean _links: type: object additionalProperties: true required: - id - slug - type - link - title - source_url - mime_type Error: type: object description: The WordPress REST error envelope, verified live against cresilon.com. Note this is NOT RFC 9457 application/problem+json — it is served as application/json with a WordPress-specific shape. properties: code: type: string description: Machine-readable WordPress error code, e.g. `rest_post_invalid_id`. message: type: string description: Human-readable message. data: type: object properties: status: type: integer description: HTTP status code, repeated in the body. params: type: object additionalProperties: type: string details: type: object additionalProperties: true required: - status required: - code - message - data headers: XWPTotal: description: Total number of items in the collection. schema: type: integer example: 1307 XWPTotalPages: description: Total number of pages in the collection at the current per_page. schema: type: integer example: 131 LinkPagination: description: RFC 8288 Link header carrying `next` and `prev` pagination relations. schema: type: string example: ; rel="next"