{"_id":"5864d2e079ce642d00f0ff40","__v":1,"category":{"_id":"5864d2df79ce642d00f0fed2","version":"5864d2df79ce642d00f0fec7","project":"56439dfe9eebf70d00490d54","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-04-21T14:16:04.978Z","from_sync":false,"order":10,"slug":"profile","title":"Profile"},"parentDoc":null,"project":"56439dfe9eebf70d00490d54","version":{"_id":"5864d2df79ce642d00f0fec7","project":"56439dfe9eebf70d00490d54","__v":16,"createdAt":"2016-12-29T09:09:51.074Z","releaseDate":"2016-12-29T09:09:51.074Z","categories":["5864d2df79ce642d00f0fec8","5864d2df79ce642d00f0fec9","5864d2df79ce642d00f0feca","5864d2df79ce642d00f0fecb","5864d2df79ce642d00f0fecc","5864d2df79ce642d00f0fecd","5864d2df79ce642d00f0fece","5864d2df79ce642d00f0fecf","5864d2df79ce642d00f0fed0","5864d2df79ce642d00f0fed1","5864d2df79ce642d00f0fed2","5864d2df79ce642d00f0fed3","5864d2df79ce642d00f0fed4","5864d2df79ce642d00f0fed5","5864d2df79ce642d00f0fed6","5864d2df79ce642d00f0fed7","5864d2df79ce642d00f0fed8","5864d2df79ce642d00f0fed9","5864d2df79ce642d00f0feda","5864d2df79ce642d00f0fedb","5864d2df79ce642d00f0fedc","5864d2df79ce642d00f0fedd","5864d2df79ce642d00f0fede","598aa64f4b6e990019b7a2d2","599bc76bc03fa2000f83db2a","599bcc3c3c5bf7000f3434fc","5d427dc9fa56fa0011135058","5d429c616863d5003af785a7","5d429e0889418f00c5e95d3f","5d42b5f098b05e003acb08b4","5d43c16985775c00ebeede3b","5d43d15446d584003da91e6d","5d43d61a5bdac50011b6f234","5d43d7c2db365100640dbc58","5d43d954bffa8400ff7efa78","5d43e414cf4f03005944344c","5d43eb42db365100640dbe4a","5d43ee6c78121b0057bc1dbf"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"user":"55ef039cbfb7ae0d0013ad7d","githubsync":"","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-04-21T14:14:37.807Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"method":"get","results":{"codes":[{"status":200,"language":"json","code":"{\t\n\t\t\"collections\":\t[\t\n\t\t\t\t{\t\n\t\t\t\t\t\t\"id\":\t\"50484e74-ad95-44d5-981a-c18411260233\",\t\n\t\t\t\t\t\t\"title\":\t\"oops\tpoly\tbasics\",\t\n\t\t\t\t\t\t\"course_id\":\t\"ac8f267c-f3f1-4395-acab-b86c959453be\",\t\n\t\t\t\t\t\t\"publish_status\":\t\"published\",\t\n\t\t\t\t\t\t\"thumbnail\":\t\"74266efb-74eb-45de-a6a8-4052710af82c.png\",\t\n\t\t\t\t\t\t\"taxonomy\":\t[\t\n\t\t\t\t\t\t\t\t\"K12.MA\"\t\n\t\t\t\t\t\t],\t\n\t\t\t\t\t\t\"collaborator\":\t[\t\n\t\t\t\t\t\t\t\t\"f8179782-c5e1-4c0f-85e5-7db5ff6b0c8d\"\t\n\t\t\t\t\t\t],\t\n\t\t\t\t\t\t\"visible_on_profile\":\tfalse,\t\n\t\t\t\t\t\t\"learning_objective\":\t\"This\tis\timportant\tcollection\",\t\n\t\t\t\t\t\t\"owner_id\":\t\"852f9814-0eb4-461d-bd3b-aca9c2500595\",\t\n\t\t\t\t\t\t\"original_creator_id\":\tnull,\t\n\t\t\t\t\t\t\"course\":\t{\t\n\t\t\t\t\t\t\t\t\"id\":\t\"bcd9d977-1b1e-4426-87c6-8fb2ec709591\",\t\n\t\t\t\t\t\t\t\t\"title\":\t\"Course\t113\",\t\n\t\t\t\t\t\t\t\t\"visible_on_profile\":\ttrue\t\n\t\t\t\t\t\t},\t\n\t\t\t\t\t\t\"resource_count\":\t5,\t\n\t\t\t\t\t\t\"question_count\":\t3,\t\n\t\t\t\t\t\t\"primary_language\":\t1\t\n\t\t\t\t},\t\n\t\t\t\t{\t\n          \t\t\"id\":\t\"617f284e-3dcb-4ca0-b354-a95bc868eed0\",\t\n\t\t\t\t\t\t\"title\":\t\"Physics\tBrief\",\t\n\t\t\t\t\t\t\"course_id\":\tnull,\t\n\t\t\t\t\t\t\"publish_status\":\t\"unpublished\",\t\n\t\t\t\t\t\t\"thumbnail\":\t\"74266efb-74eb-45de-a6a8-4052710af82c.png\",\t\n\t\t\t\t\t\t\"taxonomy\":\t[\t\n\t\t\t\t\t\t\t\t\"K12.SC-SC2\"\t\n\t\t\t\t\t\t],\t\n\t\t\t\t\t\t\"collaborator\":\t[\t\n\t\t\t\t\t\t\t\t\"f8179782-c5e1-4c0f-85e5-7db5ff6b0c8d\"\t\n\t\t\t\t\t\t],\t\n\t\t\t\t\t\t\"visible_on_profile\":\ttrue,\t\n\t\t\t\t\t\t\"learning_objective\":\tnull,\t\n\t\t\t\t\t\t\"owner_id\":\t\"852f9814-0eb4-461d-bd3b-aca9c2500595\",\t\n\t\t\t\t\t\t\"original_creator_id\":\tnull,\t\n\t\t\t\t\t\t\"course\":\t{\t\n\t\t\t\t\t\t\t\t\"id\":\t\"bcd9d977-1b1e-4426-87c6-8fb2ec709591\",\t\n\t\t\t\t\t\t\t\t\"title\":\t\"Course\t113\",\t\n\t\t\t\t\t\t\t\t\"visible_on_profile\":\ttrue\t\n\t\t\t\t\t\t},\t\n\t\t\t\t\t\t\"resource_count\":\tnull,\t\n\t\t\t\t\t\t\"question_count\":\tnull,\t\n\t\t\t\t\t\t\"primary_language\":\t1\t\n\t\t\t\t}\t\n\t\t],\t\n\t\t\"owner_details\":\t[\t\n\t\t\t\t{\t\n\t\t\t\t\t\t\"id\":\t\"852f9814-0eb4-461d-bd3b-aca9c2500595\",\t\n\t\t\t\t\t\t\"first_name\":\t\"Sachin\",\t\n\t\t\t\t\t\t\"last_name\":\t\"Zope\",\t\n\t\t\t\t\t\t\"thumbnail\":\tnull,\t\n\t\t\t\t\t\t\"school_district_id\":\tnull,\t\n\"username\":\t\"szgooru\"\t\n\t\t\t\t}\t\n\t\t],\t\n\t\n\t\t\"filters\":\t{\t\n\t\t\t\t\"standard\":\tnull,\t\n\t\t\t\t\"filterBy\":\tnull,\t\n\t\t\t\t\"sortOn\":\t\"updated_at\",\t\n\t\t\t\t\"order\":\t\"desc\",\t\n\t\t\t\t\"limit\":\t2,\t\n\t\t\t\t\"offset\":\t0\t\n\t\t}\t\n}\t","name":""}]},"settings":"","auth":"required","params":[{"_id":"5718de4f951a050e006457d5","ref":"","in":"path","required":false,"desc":"","default":"","type":"string","name":"user_id"},{"_id":"5718de4f951a050e006457d3","ref":"","in":"query","required":false,"desc":"Example: 10","default":"","type":"string","name":"limit"},{"_id":"5718de4f951a050e006457d2","ref":"","in":"query","required":false,"desc":"Example: 0","default":"","type":"string","name":"offset"},{"_id":"5d539cfd498078001f3c4991","ref":"","in":"query","required":false,"desc":"Possible\tvalues:\ttitle,\tupdated_at","default":"","type":"string","name":"sortOn"},{"_id":"5d539cfd498078001f3c4990","ref":"","in":"query","required":false,"desc":"Possible\tvalued: desc, asc  Where desc = descending, asc =ascending","default":"","type":"string","name":"order"}],"url":"/profiles/:user_id/collections"},"isReference":false,"order":1,"body":"[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Header name\",\n    \"h-1\": \"Value\",\n    \"0-0\": \"Authorization\",\n    \"0-1\": \"Token {TOKEN}\",\n    \"1-0\": \"\",\n    \"1-1\": \"\"\n  },\n  \"cols\": 2,\n  \"rows\": 1\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"Header:\\nAuthorization: Token [authenticated access_token]\",\n  \"title\": \"Access token is needed.\"\n}\n[/block]","excerpt":"","slug":"list-collections-as-ownerpublic","type":"endpoint","title":"List Collections as Owner/Public"}

getList Collections as Owner/Public


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

user_id:
string

Query Params

limit:
string
Example: 10
offset:
string
Example: 0
sortOn:
string
Possible values: title, updated_at
order:
string
Possible valued: desc, asc Where desc = descending, asc =ascending

Result Format


Documentation

[block:parameters] { "data": { "h-0": "Header name", "h-1": "Value", "0-0": "Authorization", "0-1": "Token {TOKEN}", "1-0": "", "1-1": "" }, "cols": 2, "rows": 1 } [/block] [block:callout] { "type": "info", "body": "Header:\nAuthorization: Token [authenticated access_token]", "title": "Access token is needed." } [/block]

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