{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/resource/:site_id/:resource_id","auth":"required","examples":{"codes":[{"code":"curl -H 'Content-Type:application/json' -H 'Authorization: Bearer <JWT>' 'https://resources.api.boomtrain.com/resource/your-site/c182c299a664e80a9d5b5f381a8d5c53'","language":"curl"}]},"method":"get","params":[{"name":"site_id","type":"string","default":"","desc":"The unique identifier for your Boomtrain site.","required":true,"in":"path","ref":"","_id":"572a787cd10a200e00b1cbd4"},{"name":"resource_id","type":"string","default":"","desc":"The identifier of the resource.","required":true,"in":"path","ref":"","_id":"56d9e77caa96cc150020eb63"},{"name":"resource_type","type":"string","default":"","desc":"Optionally specify a resource type. If multiple resources exist with one `resource_id`, this parameter will be used to disambiguate between them. Note that if multiple resources match the request, a `409 Conflict` error will result.","required":false,"in":"query","ref":"","_id":"572bd538de40590e00026925"}],"results":{"codes":[{"name":"","code":"{\n  \"data\": {\n    \"resource_id\":\"c182c299a664e80a9d5b5f381a8d5c53\",\n    \"resource_type\": \"article\",\n    \"thumbnail\": \"https://marketingreads.com/wp-content/uploads/2016/01/chiefmarketingtechnologist.jpeg\",\n    \"published_at\": \"2016-03-04T00:08:08.362Z\",\n    \"url\":\"https://marketingreads.com/the-chief-marketing-technologist-luxury-or-necessity/\",\n    \"description\":\"Three years ago, Gartner made headlines projecting that the CMO would outspend the CIO on technology by 2017. So far there has been little reason to doubt that bold prediction will come to pass.\",\n    \"title\":\"The Chief Marketing Technologist: Luxury or Necessity?\",\n    \"body\":\"Three years ago, Gartner made headlines projecting that the CMO would outspend the CIO on technology by 2017. So far there has been little reason to doubt that bold prediction will come to pass. More recently, CEOs have said that digital marketing will be their biggest technology-enabled business investment over the next five years, according to a 2014 Gartner survey, and marketing IT budgets continue to climb even as other marketing spending stays flat. “Marketing as an enterprise function has been taking a leading role in the implementation of new technologies that help customers connect with businesses,” said Adam Howatson, CMO of enterprise information management provider OpenText, in an interview with CMO.com. “I think it is safe to say that CMOs who ignore technology won’t be CMOs for much longer. Marketing technology will be a defining factor in how an enterprise communicates with its customers.” [Read More]  Automation , agencies, budgeting, CMO, company culture, digital marketing, hiring, marketing technology\",\n   \"props\":\n    {\n      \"language\":\"en_US\",\n      \"keywords\":[\"marketing\",\"marketers\",\"automation\",\"agencies\",\"budgeting\",\"cmo\",\"company culture\",\"digital marketing\",\"hiring\",\"marketing technology\"]\n    },\n    \"variants\": \n    {\n      \"version_1\": {\n        \"language\":\"es_ES\",\n        \"keywords\": [\"márketing\",\"comercializadores\",\"automatización\",\"agencias\",\"presupuestos\",\"directores de marketing\",\"cultura de la empresa\",\"publicidad digital\",\"contratación\",\"tecnología de marketing\"]\n    },\n    \"bt_updated_at\": \"2016-03-04T00:08:08.362000\",\n  }\n}","language":"json","status":200},{"name":"","code":"{\n  'errors': [\n    {\n    \t'message': 'The request was malformed and it is unable to be processed. Please review and try again.'\n  \t}\n  ]\n}","language":"json","status":400},{"code":"{\n  \"errors\": [\n    {\n      \"message\": \"<message>\"\n    }\n  ]\n}","language":"json","status":403},{"language":"json","code":"{\n  \"errors\": [\n    {\n      \"message\": \"The requested resource could not be found\"\n    }\n  ]\n}","status":404},{"status":409,"language":"json","code":"// Occurs when multiple resources are returned for this request.\n{\n  \"errors\": [\n    {\n      \"message\": \"This request matches multiple resources. The Boomtrain team has been notified of the error.\"\n    }\n  ]\n}"}]},"settings":"57432f2eeed4ab0e00edc652"},"next":{"description":"","pages":[]},"title":"Get a Specified Resource","type":"endpoint","slug":"get-specified-resource","excerpt":"Returns the specified resource, including all resource fields.","body":"","updates":[],"order":6,"isReference":true,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"572a76fc7f34182900ce9ecf","project":"56aff08c3a5b810d00745d99","editedParams":true,"githubsync":"","version":{"version":"1","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["56aff08d3a5b810d00745d9d","56aff24f3a5b810d00745da0","56aff25dbc304a0d00ace207","56aff287e0b1e40d00c53798","56aff2b260a37a0d00ed8883","56aff2b8e0b1e40d00c53799","56aff2bd5b1f01170014dc7b","56aff2c9d21e9c0d00b62993","56aff493aef9a21700da0e67","56aff4ce1486990d009c0f64","56aff4da5b1f01170014dc7d","56aff4dfe0b1e40d00c537a2","56aff4e59d32e30d0006d3e9","56aff4e91486990d009c0f65","56aff4f93a5b810d00745da2","56aff4fe9d32e30d0006d3ea","56b91c7ab1e03e0d001057c5","56c4f51aba4a540d0091b9a2","56cd09488c4a331d002c1e44","56d4ec4773dcd20b00fb8769","56e79bc515f96b2200878e54","56ec25c538ff1d2200d56cc2","56ec3a6f36bc8e0e00f190c8","56ec3e308ea7ce0e00a3d8b0","5724d8fe4255580e005938b2","5724dc842ad0bc1700122803","5776ef2a04f7500e0095dc37","57ab9f70b5e8742000e17eb9","57d7117646dcc30e007dd21f","58e6abd5b1eece19008b7d31","59288c65e2653627003e1221","5a8f4797a44f8600128e75ee","5bbf8833eb416300039a2c14","5ea811617bf4b5007328a0af"],"_id":"56aff08c3a5b810d00745d9c","project":"56aff08c3a5b810d00745d99","releaseDate":"2016-02-01T23:55:56.544Z","__v":34,"createdAt":"2016-02-01T23:55:56.544Z"},"editedParams2":true,"__v":7,"category":{"sync":{"isSync":false,"url":""},"pages":["56d4ec8573dcd20b00fb876a"],"title":"Server-Side Integration REST API","slug":"authorization","order":3,"from_sync":false,"reference":true,"_id":"56d4ec4773dcd20b00fb8769","__v":1,"version":"56aff08c3a5b810d00745d9c","createdAt":"2016-03-01T01:11:35.547Z","project":"56aff08c3a5b810d00745d99"},"createdAt":"2016-05-04T22:26:04.542Z","user":"566887ff8639090d00759415","parentDoc":null}

getGet a Specified Resource

Returns the specified resource, including all resource fields.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

site_id:
required
string
The unique identifier for your Boomtrain site.
resource_id:
required
string
The identifier of the resource.

Query Params

resource_type:
string
Optionally specify a resource type. If multiple resources exist with one `resource_id`, this parameter will be used to disambiguate between them. Note that if multiple resources match the request, a `409 Conflict` error will result.

Examples


Result Format


User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}