{"_id":"572cb9ac6f08d4190057ad3f","category":{"_id":"572cba2fc310640e008f63d5","project":"54343170fa5527080064f449","version":"54343531bfaa3d0800c4d4af","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-05-06T15:37:19.128Z","from_sync":false,"order":10,"slug":"ratings","title":"Ratings"},"version":{"_id":"54343531bfaa3d0800c4d4af","project":"54343170fa5527080064f449","__v":28,"forked_from":"54343170fa5527080064f44c","createdAt":"2014-10-07T18:47:13.086Z","releaseDate":"2014-10-07T18:47:13.086Z","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"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.0.0","version":"3.0"},"parentDoc":null,"project":"54343170fa5527080064f449","editedParams":true,"editedParams2":true,"user":"54b5782696fe3c0b00d38d82","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-05-06T15:35:08.285Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"language":"text","code":""}]},"method":"put","results":{"codes":[]},"settings":"","auth":"required","params":[{"_id":"572cb9ac6f08d4190057ad41","ref":"","in":"path","required":true,"desc":"Id of the asset to edit","default":"","type":"string","name":"assetId"},{"_id":"572cb9ac6f08d4190057ad40","ref":"","in":"body","required":false,"desc":"","default":"","type":"int","name":"rating"}],"url":"/assets/:assetId/ratings"},"isReference":false,"order":2,"body":"This endpoint submits a rating on the asset for the authenticated user.","excerpt":"Submit a rating for an asset","slug":"rate-asset","type":"endpoint","title":"Rate Asset"}

putRate Asset

Submit a rating for an asset

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

assetId:
required
string
Id of the asset to edit

Body Params

rating:
integer

Documentation

This endpoint submits a rating on the asset for the authenticated user.

User Information

Try It Out

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