{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/assets/:assetId/tags","auth":"required","method":"post","params":[{"name":"assetId","type":"string","default":"","desc":"","required":false,"in":"path","ref":"","_id":"54ad93daf6f5b10b0066dd51"},{"name":"tags","type":"array_string","default":"[\"Tag1\", \"Tag2\", \"Tag3\"]","desc":"List of tags","required":false,"in":"body","ref":"","_id":"54ad93daf6f5b10b0066dd50"}],"results":{"codes":[]}},"next":{"description":"","pages":[]},"title":"Add Tag to Asset","type":"endpoint","slug":"add-tag-to-asset","excerpt":"Tag an asset","body":"Attaches a single or multiple tags to an asset.","updates":[],"order":1,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"54ad93daf6f5b10b0066dd4f","githubsync":"","editedParams2":true,"category":{"sync":{"isSync":false,"url":""},"pages":["54abf834ec3be11400c8af3e","54ad93daf6f5b10b0066dd4f","54ad9a47f6f5b10b0066dd69","54ada2f55ff7ef2a009ce69a","54b532a4a806f40c0050d539","54c69f60f2ab9319008e81a9"],"title":"Tags","slug":"tags","order":7,"from_sync":false,"reference":false,"_id":"543435b9edce040800409241","__v":6,"version":"54343531bfaa3d0800c4d4af","createdAt":"2014-10-07T18:49:29.057Z","project":"54343170fa5527080064f449"},"user":"54343147fa5527080064f43f","version":{"version":"3.0","version_clean":"3.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["54343531bfaa3d0800c4d4b0","543435b1edce040800409240","543435b9edce040800409241","543435bcedce040800409243","543435bfedce040800409244","543435c2edce040800409245","54370cc426469424002a6dfa","54370cf026469424002a6dfd","5437129d26469424002a6e2f","543712d226469424002a6e30","5480c8fd74904f1a00053c86","54aafc6eefb39016009e4d71","54ac1d36de18cc1400226e01","54ad59369219922100751732","54b41bcf4f25cb1600518d2c","54b533a3a806f40c0050d53c","54b54bbf96fe3c0b00d38d2a","54b688a27379a90c00f53a8a","54b699efbc1a46160005edfa","54b8191691011f0b00068804","54bfb002d03bfc0d0000e814","54bfb33ed03bfc0d0000e816","55a3e94e912a6e2300882cdb","55a56c370f354f0d00fd02a8","55e85ad034516037002e9325","5638ecb62fc5520d001a4cf9","572cba2fc310640e008f63d5","596e6e42c5b53b00509791b1"],"_id":"54343531bfaa3d0800c4d4af","project":"54343170fa5527080064f449","releaseDate":"2014-10-07T18:47:13.086Z","__v":28,"createdAt":"2014-10-07T18:47:13.086Z","forked_from":"54343170fa5527080064f44c"},"__v":0,"createdAt":"2015-01-07T20:15:22.136Z","parentDoc":null,"editedParams":true,"project":"54343170fa5527080064f449"}

postAdd Tag to Asset

Tag an asset

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

assetId:
string

Body Params

tags:
array of strings["Tag1", "Tag2", "Tag3"]
List of tags

Documentation

Attaches a single or multiple tags to an asset.

User Information

Try It Out

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