Skip to content
This repository has been archived by the owner. It is now read-only.

Introduce `media_type` and `mime_type` params for `GET /wp/v2/media` #2231

Merged
merged 3 commits into from Feb 5, 2016

Conversation

@danielbachhuber
Copy link
Member

danielbachhuber commented Feb 4, 2016

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

This comment has been minimized.

Copy link
Member Author

danielbachhuber commented Feb 4, 2016

@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
3 checks passed
3 checks passed
Scrutinizer 42 new issues, 41 updated code elements
Details
codecov/project 93.85% (target 80.00%)
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@danielbachhuber danielbachhuber deleted the 2188-mime-query branch Feb 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
1 participant
You can’t perform that action at this time.