{"_id":"5864d2e079ce642d00f0ff2e","project":"56439dfe9eebf70d00490d54","user":"55dd6b48a649eb170083b97a","version":{"_id":"5864d2df79ce642d00f0fec7","project":"56439dfe9eebf70d00490d54","__v":4,"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"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"githubsync":"","__v":0,"category":{"_id":"5864d2df79ce642d00f0fecf","__v":0,"project":"56439dfe9eebf70d00490d54","version":"5864d2df79ce642d00f0fec7","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-11-19T02:15:04.822Z","from_sync":false,"order":7,"slug":"course","title":"Course"},"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-19T02:29:28.063Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"language":"text","code":"","name":""}]},"method":"get","results":{"codes":[{"code":"{\n  \"id\": \"ac8f267c-f3f1-4395-acab-b86c959453be\",\n  \"title\": \"mathematics course 101\",\n  \"description\": \"this is new descrition\",\n  \"owner_id\": \"8c2551be-48c3-41e9-89fe-97a59b703e84\",\n  \"creator_id\": \"8c2551be-48c3-41e9-89fe-97a59b703e84\",\n  \"original_creator_id\": null,\n  \"modifier_id\": \"8c2551be-48c3-41e9-89fe-97a59b703e84\",\n  \"original_course_id\": null,\n  \"publish_status\": \"unpublished\",\n  \"publish_date\": null,\n  \"thumbnail\": \"74266efb-74eb-45de-a6a8-4052710af82c.png\",\n  \"audience\": [\n    54,\n    23\n  ],\n  \"metadata\": null,\n  \"taxonomy\": [\n    \"K12.MA-MA2\"\n  ],\n  \"collaborator\": [\n    \"c59fa706-d5f5-4230-a241-1eb96b3ff0e1\",\n    \"8dc3322f-4b59-4102-98e8-43e0fcc346fe\",\n    \"3d6bc3ea-2aff-4106-8762-9246d5d84813\"\n  ],\n  \"visible_on_profile\": true,\n  \"is_deleted\": false,\n  \"created_at\": \"2016-03-09T05:55:42Z\",\n  \"updated_at\": \"2016-03-10T05:13:35Z\",\n  \"sequence_id\": 1,\n  \"subject_bucket\": \"K12.MA\",\n  \"creator_system\": \"gooru\",\n  \"unitSummary\": [\n    {\n      \"unit_id\": \"610cff79-d77b-4c23-8de3-1cb6969d4b07\",\n      \"title\": \"Unit 1\",\n      \"sequence_id\": 1\n    },\n    {\n      \"unit_id\": \"596c67cd-24c5-4593-96b0-aeb7f77ad7c5\",\n      \"title\": \"Unit 2\",\n      \"sequence_id\": 2\n    },\n    {\n      \"unit_id\": \"89733ef8-f8bf-4a57-9d8f-74a782f671c7\",\n      \"title\": \"Unit 3\",\n      \"sequence_id\": 3\n    }\n  ]\n}\n","name":"","status":200,"language":"json"}]},"settings":"","auth":"required","params":[{"_id":"564cf237bc81632100b1046e","ref":"","in":"path","required":false,"desc":"","default":"","type":"int","name":"course-id"}],"url":"/courses/:course-id"},"isReference":false,"order":2,"body":"[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Header name\",\n    \"h-1\": \"Value\",\n    \"0-0\": \"Authorization\",\n    \"0-1\": \"Token {{authorization access token}}\",\n    \"1-0\": \"Content-Type\",\n    \"1-1\": \"application/json\"\n  },\n  \"cols\": 2,\n  \"rows\": 2\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"The API will provide data specific to course as an entity. This will provide metadata for course along with summary information associated with the units contained in the course\",\n  \"title\": \"Note\"\n}\n[/block]","excerpt":"Fetch an existing Course by a specified id","slug":"fetch-a-course-by-id","type":"endpoint","title":"Fetch a Course by Id"}

getFetch a Course by Id

Fetch an existing Course by a specified id

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

course-id:
integer

Result Format


Documentation

[block:parameters] { "data": { "h-0": "Header name", "h-1": "Value", "0-0": "Authorization", "0-1": "Token {{authorization access token}}", "1-0": "Content-Type", "1-1": "application/json" }, "cols": 2, "rows": 2 } [/block] [block:callout] { "type": "info", "body": "The API will provide data specific to course as an entity. This will provide metadata for course along with summary information associated with the units contained in the course", "title": "Note" } [/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 }}