{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/assets/:assetId/ratings","auth":"required","examples":{"codes":[{"code":"","language":"text"}]},"method":"get","params":[{"name":"assetId","type":"string","default":"","desc":"Id of the asset to edit","required":true,"in":"path","ref":"","_id":"572cb9ac6f08d4190057ad41"}],"results":{"codes":[{"status":200,"language":"json","code":"{\n    \"owner\": {\n      \"id\": \"11E2F04C-FF3C-56DA-59F43029C949095A\",\n      \"firstName\": \"Jared\",\n      \"lastName\": \"User\",\n      \"userName\": \"jared\",\n      \"tags\": [],\n      \"email\": \"email:::at:::domain.com\",\n    },\n    \"dateCreated\": 1462545946000,\n    \"rating\": 4\n  },\n  {\n    \"owner\": {\n      \"id\": \"58581e15-04ec-48f4-8bd5-82bcfc60369c\",\n      \"firstName\": \"Ben\",\n      \"lastName\": \"user2\",\n      \"userName\": \"ben\",\n      \"tags\": [],\n      \"email\": \"[email protected]\",\n    },\n    \"dateCreated\": 1462549701000,\n    \"rating\": 2\n  }","name":""}]},"settings":""},"next":{"description":"","pages":[]},"title":"Get All Ratings","type":"endpoint","slug":"get-rating","excerpt":"Retrieve all ratings that users have made on an asset","body":"Returns all ratings on the asset by user ID, user name, user email, and rating.","updates":[],"order":1,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"572cbac9c310640e008f63dc","user":"54b5782696fe3c0b00d38d82","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Ratings","slug":"ratings","order":10,"from_sync":false,"reference":false,"_id":"572cba2fc310640e008f63d5","project":"54343170fa5527080064f449","version":"54343531bfaa3d0800c4d4af","createdAt":"2016-05-06T15:37:19.128Z","__v":0},"editedParams2":true,"parentDoc":null,"__v":0,"githubsync":"","project":"54343170fa5527080064f449","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"},"createdAt":"2016-05-06T15:39:53.247Z","editedParams":true}

getGet All Ratings

Retrieve all ratings that users have made on an asset

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

assetId:
required
string
Id of the asset to edit

Result Format


Documentation

Returns all ratings on the asset by user ID, user name, user email, and rating.

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 }}