Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Conversation

@danielbachhuber
Copy link
Member

media_type permits querying by the group of mime types (e.g. 'image'
vs. 'video'). mime_type permits querying by a particular mime type.

Introduces a new mime_type attribute on the Attachment resource.

Fixes #2188

`media_type` permits querying by the group of mime types (e.g. 'image'
vs. 'video'). `mime_type` permits querying by a particular mime type.

Introduces a new `mime_type` attribute on the Attachment resource.
@danielbachhuber danielbachhuber added this to the 2.0 Beta 12 milestone Feb 4, 2016
@danielbachhuber
Copy link
Member Author

@WP-API/amigos #reviewmerge

danielbachhuber added a commit that referenced this pull request Feb 5, 2016
Introduce `media_type` and `mime_type` params for `GET /wp/v2/media`
@danielbachhuber danielbachhuber merged commit 8ce4d35 into develop Feb 5, 2016
@danielbachhuber danielbachhuber deleted the 2188-mime-query branch February 5, 2016 00:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants