{ "info": { "name": "HHS Media Services Get MediaItems for Tag", "_postman_id": "4b2cefab-0fc9-49da-b08e-6ca21c63e951", "description": "Returns the list of MediaItems associated with the Tag identified by the 'id'.", "schema": "https://schema.getpostman.com/json/collection/v2.0.0/" }, "item": [ { "name": "Resources", "item": [ { "id": "1ab5f172-a79b-4825-aa45-37c8d86ccb60", "name": "getMediaByCampaignId", "request": { "url": { "protocol": "http", "host": "api.digitalmedia.hhs.gov", "path": [ "api", "v2", "resources/campaigns/:id/media.json" ], "query": [ { "key": "max", "value": "%7B%7D", "disabled": false }, { "key": "offset", "value": "%7B%7D", "disabled": false }, { "key": "sort", "value": "%7B%7D", "disabled": false } ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Returns the list of MediaItems for the Campaign identified by the 'id'." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "12f70d3f-3511-452f-a139-3a9ac3380cf6" } ] }, { "id": "09d81d6a-2d92-4018-9bdd-99dd7f026c63", "name": "getMedia", "request": { "url": "http://api.digitalmedia.hhs.gov/api/v2/resources/media.json?collectionId=%7B%7D&contentAuthoredBeforeDate=%7B%7D&contentAuthoredInRange=%7B%7D&contentAuthoredSinceDate=%7B%7D&contentPublishedBeforeDate=%7B%7D&contentPublishedInRange=%7B%7D&contentPublishedSinceDate=%7B%7D&contentReviewedBeforeDate=%7B%7D&contentReviewedInRange=%7B%7D&contentReviewedSinceDate=%7B%7D&contentUpdatedBeforeDate=%7B%7D&contentUpdatedInRange=%7B%7D&contentUpdatedSinceDate=%7B%7D&createdBy=%7B%7D&customThumbnailUrl=%7B%7D&customThumbnailUrlContains=%7B%7D&dateContentAuthored=%7B%7D&dateContentPublished=%7B%7D&dateContentReviewed=%7B%7D&dateContentUpdated=%7B%7D&dateSyndicationCaptured=%7B%7D&dateSyndicationUpdated=%7B%7D&descriptionContains=%7B%7D&hash=%7B%7D&hashContains=%7B%7D&languageId=%7B%7D&languageIsoCode=%7B%7D&languageName=%7B%7D&max=%7B%7D&mediaTypes=%7B%7D&name=%7B%7D&nameContains=%7B%7D&offset=%7B%7D&order=%7B%7D&restrictToSet=%7B%7D&sort=%7B%7D&sourceAcronym=%7B%7D&sourceAcronymContains=%7B%7D&sourceId=%7B%7D&sourceName=%7B%7D&sourceNameContains=%7B%7D&sourceUrl=%7B%7D&sourceUrlContains=%7B%7D&syndicationCapturedBeforeDate=%7B%7D&syndicationCapturedInRange=%7B%7D&syndicationCapturedSinceDate=%7B%7D&syndicationUpdatedBeforeDate=%7B%7D&syndicationUpdatedInRange=%7B%7D&syndicationUpdatedSinceDate=%7B%7D&syndicationVisibleBeforeDate=%7B%7D&syndicationVisibleInRange=%7B%7D&syndicationVisibleSinceDate=%7B%7D&tagIds=%7B%7D", "method": "GET", "body": { "mode": "raw" }, "description": "Returns the list of MediaItems matching the specified query parameters." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "6da5f176-ad59-4857-b86c-081432526ecf" } ] }, { "id": "6a3e18c3-92df-4160-89c1-be1f5e3017bb", "name": "getFeaturedMedia", "request": { "url": "http://api.digitalmedia.hhs.gov/api/v2/resources/media/featured.json?max=%7B%7D&offset=%7B%7D&sort=%7B%7D", "method": "GET", "body": { "mode": "raw" }, "description": "Get the list of featured content in the syndication system" }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "f4c0cd62-3919-4853-8d8e-7ae2dd122432" } ] }, { "id": "54a0b6ce-d709-43d5-889e-64899652e5f5", "name": "getMostPopularMedia", "request": { "url": "http://api.digitalmedia.hhs.gov/api/v2/resources/media/mostPopularMedia.json?max=%7B%7D&offset=%7B%7D", "method": "GET", "body": { "mode": "raw" }, "description": "Returns the list of MediaItems with the highest ratings." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "5e28c5ad-653a-44fe-a03d-faf3f3821c6d" } ] }, { "id": "d63e616e-37d3-4f9d-9144-392657aca518", "name": "searchMedia", "request": { "url": "http://api.digitalmedia.hhs.gov/api/v2/resources/media/searchResults.json?max=%7B%7D&offset=%7B%7D&q=%7B%7D", "method": "GET", "body": { "mode": "raw" }, "description": "Returns the list of MediaItems matching the search query 'q'.The search query 'q' is a Lucene query.The syntax for a Lucene query can be found here" }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "16840a23-2492-4456-8f21-d33ad1be04f3" } ] }, { "id": "b9d4b89f-3272-40f1-8867-e405feccb3b8", "name": "getMediaById", "request": { "url": { "protocol": "http", "host": "api.digitalmedia.hhs.gov", "path": [ "api", "v2", "resources/media/:id.json" ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Returns the MediaItem identified by the 'id'." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "e070190c-be93-4e87-9c4b-444ad377210c" } ] }, { "id": "7d258b8f-0c0c-4663-a0c0-7c2f9b460e54", "name": "getMediaContentById", "request": { "url": { "protocol": "http", "host": "api.digitalmedia.hhs.gov", "path": [ "api", "v2", "resources/media/:id/content" ], "query": [ { "key": "calledByBuild", "value": "%7B%7D", "disabled": false } ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Returns the raw content (html, image, etc...) for the MediaItem identified by the 'id'." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "e0a45f3d-2435-4ca7-9b2f-067bfcb98f27" } ] }, { "id": "d0789642-541f-4930-bf48-5bccd1e09f28", "name": "getMediaEmbedById", "request": { "url": { "protocol": "http", "host": "api.digitalmedia.hhs.gov", "path": [ "api", "v2", "resources/media/:id/embed.json" ], "query": [ { "key": "displayMethod", "value": "%7B%7D", "disabled": false }, { "key": "divId", "value": "%7B%7D", "disabled": false }, { "key": "excludeDiv", "value": "%7B%7D", "disabled": false }, { "key": "excludeJquery", "value": "%7B%7D", "disabled": false }, { "key": "flavor", "value": "%7B%7D", "disabled": false }, { "key": "height", "value": "%7B%7D", "disabled": false }, { "key": "iframeName", "value": "%7B%7D", "disabled": false }, { "key": "width", "value": "%7B%7D", "disabled": false } ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Returns the javascript or iframe embed code for the MediaItem identified by 'id'." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "6cd086ff-04e0-4994-b9ea-d1951b9ba81e" } ] }, { "id": "a993ebb0-110f-4b7f-a13b-b494bed69101", "name": "getMediaPreviewById", "request": { "url": { "protocol": "http", "host": "api.digitalmedia.hhs.gov", "path": [ "api", "v2", "resources/media/:id/preview.jpg" ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Returns the JPG preview, where applicable, for the MediaItem identified by the 'id'." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "3d2c9bde-1495-4c90-bda5-03a005540785" } ] }, { "id": "7f02ae3b-d4f3-4ac9-b642-28cf62ae2580", "name": "getMediaRatingsById", "request": { "url": { "protocol": "http", "host": "api.digitalmedia.hhs.gov", "path": [ "api", "v2", "resources/media/:id/ratings.json" ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Get the Ratings (number of 'likes') for the MediaItem identified by the 'id'." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "74d05cd3-da72-4e05-b95f-35433eece31e" } ] }, { "id": "1d646408-caaf-4ad6-b8a8-ce8007abbfed", "name": "getRelatedMediaById", "request": { "url": { "protocol": "http", "host": "api.digitalmedia.hhs.gov", "path": [ "api", "v2", "resources/media/:id/relatedMedia.json" ], "query": [ { "key": "max", "value": "%7B%7D", "disabled": false }, { "key": "offset", "value": "%7B%7D", "disabled": false }, { "key": "sort", "value": "%7B%7D", "disabled": false } ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Returns the list of MediaItems related to the MediaItem identified by the 'id'." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "1c18e592-3647-47c3-b329-4b1d113b25b6" } ] }, { "id": "83623473-b50b-42d8-92d7-049ce75913ae", "name": "getMediaSyndicateById", "request": { "url": { "protocol": "http", "host": "api.digitalmedia.hhs.gov", "path": [ "api", "v2", "resources/media/:id/syndicate.json" ], "query": [ { "key": "autoplay", "value": "%7B%7D", "disabled": false }, { "key": "cssClass", "value": "%7B%7D", "disabled": false }, { "key": "font-size", "value": "%7B%7D", "disabled": false }, { "key": "imageFloat", "value": "%7B%7D", "disabled": false }, { "key": "imageMargin", "value": "%7B%7D", "disabled": false }, { "key": "rel", "value": "%7B%7D", "disabled": false }, { "key": "stripBreaks", "value": "%7B%7D", "disabled": false }, { "key": "stripClasses", "value": "%7B%7D", "disabled": false }, { "key": "stripImages", "value": "%7B%7D", "disabled": false }, { "key": "stripScripts", "value": "%7B%7D", "disabled": false }, { "key": "stripStyles", "value": "%7B%7D", "disabled": false } ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Returns the syndicated content for a given MediaItem in the specified 'format' (HTML or JSON)." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "c5af68da-4e70-414c-8733-05a3f286c55d" } ] }, { "id": "2ed31c0b-0924-4db6-b7b1-ff3770d23b03", "name": "getMediaThumbnailById", "request": { "url": { "protocol": "http", "host": "api.digitalmedia.hhs.gov", "path": [ "api", "v2", "resources/media/:id/thumbnail.jpg" ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Returns the JPG thumbnail, where applicable, for the MediaItem identified by the 'id'." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "41dc0ecf-7c1d-4eb4-be1f-76537355abbd" } ] }, { "id": "ea34cbef-4ee9-4b5f-a171-b6f97aebfc11", "name": "getMediaYoutubeMetaDataById", "request": { "url": { "protocol": "http", "host": "api.digitalmedia.hhs.gov", "path": [ "api", "v2", "resources/media/:id/youtubeMetaData.json" ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Returns the Youtube metadata, where applicable, for the MediaItem identified by the 'id'." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "a3ec683b-6980-4122-97ce-5ac79f740606" } ] }, { "id": "557669c4-8c34-4827-b223-e5b4d5be1046", "name": "getMediaTypes", "request": { "url": "http://api.digitalmedia.hhs.gov/api/v2/resources/mediaTypes.json", "method": "GET", "body": { "mode": "raw" }, "description": "Returns the list of available MediaTypes." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "a6963382-ac2a-4f2e-bda0-02734e1b48b9" } ] }, { "id": "f14e9129-3ed0-4fe7-8aa6-7546f4b0f2ae", "name": "getMediaByTagId", "request": { "url": { "protocol": "http", "host": "api.digitalmedia.hhs.gov", "path": [ "api", "v2", "resources/tags/:id/media.json" ], "query": [ { "key": "max", "value": "%7B%7D", "disabled": false }, { "key": "offset", "value": "%7B%7D", "disabled": false }, { "key": "sort", "value": "%7B%7D", "disabled": false } ], "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "GET", "body": { "mode": "raw" }, "description": "Returns the list of MediaItems associated with the Tag identified by the 'id'." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "595c3db3-d260-4393-8e12-af9529fee5f0" } ] } ] } ] }