{"_id":"599be58f9e557f0019a965a8","project":"56439dfe9eebf70d00490d54","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"},"category":{"_id":"599bcc3c3c5bf7000f3434fc","project":"56439dfe9eebf70d00490d54","version":"5864d2df79ce642d00f0fec7","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2017-08-22T06:16:28.945Z","from_sync":false,"order":20,"slug":"crosswalk","title":"Crosswalk API"},"user":"567b9bf2b56bac0d0019d914","githubsync":"","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-08-22T08:04:31.291Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"Crosswalk API takes as input list of standards display codes and a target framework to crosswalk to. API does the crosswalk of input standard codes to equivalent framework codes and returns the same. If there is no equivalent of input standard code in the specified target framework, returns null.\n\nThis endpoint would be available to anonymous users as well. But the API still requires a valid access_token presented via request header (either anonymous token or authenticated user token).\n\nSince the request payload (list of standard codes as input) could be huge, this API is a HTTP POST method.\n\n**API End Point** \n{REST_END_POINT}/taxonomy/crosswalk/fw\n\n**Method Type**\nPOST\n\n**Request Headers** \n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Header\",\n    \"h-1\": \"Value\",\n    \"h-2\": \"Description\",\n    \"0-0\": \"Authorization\",\n    \"0-1\": \"Token {TOKEN}\",\n    \"0-2\": \"Replace the {TOKEN} with actual value of access_token obtained from authentication.\"\n  },\n  \"cols\": 3,\n  \"rows\": 1\n}\n[/block]\n**Request Body**\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Key\",\n    \"h-1\": \"Data Type\",\n    \"h-2\": \"Value\",\n    \"h-3\": \"Description\",\n    \"0-0\": \"codes\",\n    \"0-1\": \"JSON Array\",\n    \"0-2\": \"<< array of display codes >>\",\n    \"0-3\": \"Standards display codes that need to be crosswalked\",\n    \"1-0\": \"target_framework_id\",\n    \"1-1\": \"String\",\n    \"1-2\": \"<< target framework code >>\",\n    \"1-3\": \"Target Framework to crosswalk to based on input standards. Currently supported target frameworks are: 'TEXAS', 'CCSS'.\"\n  },\n  \"cols\": 4,\n  \"rows\": 2\n}\n[/block]\nSample Call\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"Curl -i -H \\\"Authorization:Token MTQ3NDM1NDIzMDk1OTowMjE5MDkwYy1hYmU2LTRhMDktOGM5Zi0zNDM5MTFmNWNkODY6YmE5NTZhOTctYWUxNS0xMWU1LWEzMDItZjhhOTYzMDY1OTc\\\" -XPOST ‘http://gooru.org/taxonomy/crosswalk/fw’ -d ‘{\\n\\\"codes\\\":[\\n   \\\"CCSS.K12.MA-1-G-A\\\",\\n   \\\"CCSS.K12.MA-1-MA-A\\\",\\n   \\\"CCSS.K12.MA-1-SA-A\\\"\\n ],\\n\\\"target_framework_id\\\":\\\"TEXAS\\\"\\n}’\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]\n**Response Structure**\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Key\",\n    \"h-1\": \"Data Type\",\n    \"h-2\": \"Description\",\n    \"0-0\": \"<input display code>.code\",\n    \"0-1\": \"String\",\n    \"0-2\": \"Display code of input standard at the crosswalked / target framework.\",\n    \"1-0\": \"<input display code>.title\",\n    \"1-1\": \"String\",\n    \"h-3\": \"Description\",\n    \"0-3\": \"\",\n    \"1-2\": \"Display title of input standard at the crosswalked / target framework.\",\n    \"1-3\": \"\",\n    \"2-0\": \"<input display code>.description\",\n    \"2-1\": \"String\",\n    \"2-2\": \"Description of input standard at the crosswalked / target framework.\",\n    \"2-3\": \"\"\n  },\n  \"cols\": 3,\n  \"rows\": 3\n}\n[/block]\n**Sample Response**\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n\\\"CCSS.K12.MA-1-G-A\\\": {\\n\\\"code\\\":\\\"MA-1-G\\\",\\n\\\"title\\\":\\\"Math grade 1 Shapes\\\",\\n\\\"description\\\":\\\"\\\"\\n},\\n\\\"CCSS.K12.MA-1-MA-A\\\":{\\n\\\"code\\\":\\\"MA-1-MA\\\",\\n\\\"title\\\":\\\"Math grade 1 Counting\\\",\\n\\\"description\\\":\\\"\\\"\\n},\\n\\\"CCSS.K12.MA-1-SA-A\\\":null\\n}\",\n      \"language\": \"json\",\n      \"name\": null\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"crosswalk-api","type":"basic","title":"Crosswalk API"}
Crosswalk API takes as input list of standards display codes and a target framework to crosswalk to. API does the crosswalk of input standard codes to equivalent framework codes and returns the same. If there is no equivalent of input standard code in the specified target framework, returns null. This endpoint would be available to anonymous users as well. But the API still requires a valid access_token presented via request header (either anonymous token or authenticated user token). Since the request payload (list of standard codes as input) could be huge, this API is a HTTP POST method. **API End Point** {REST_END_POINT}/taxonomy/crosswalk/fw **Method Type** POST **Request Headers** [block:parameters] { "data": { "h-0": "Header", "h-1": "Value", "h-2": "Description", "0-0": "Authorization", "0-1": "Token {TOKEN}", "0-2": "Replace the {TOKEN} with actual value of access_token obtained from authentication." }, "cols": 3, "rows": 1 } [/block] **Request Body** [block:parameters] { "data": { "h-0": "Key", "h-1": "Data Type", "h-2": "Value", "h-3": "Description", "0-0": "codes", "0-1": "JSON Array", "0-2": "<< array of display codes >>", "0-3": "Standards display codes that need to be crosswalked", "1-0": "target_framework_id", "1-1": "String", "1-2": "<< target framework code >>", "1-3": "Target Framework to crosswalk to based on input standards. Currently supported target frameworks are: 'TEXAS', 'CCSS'." }, "cols": 4, "rows": 2 } [/block] Sample Call [block:code] { "codes": [ { "code": "Curl -i -H \"Authorization:Token MTQ3NDM1NDIzMDk1OTowMjE5MDkwYy1hYmU2LTRhMDktOGM5Zi0zNDM5MTFmNWNkODY6YmE5NTZhOTctYWUxNS0xMWU1LWEzMDItZjhhOTYzMDY1OTc\" -XPOST ‘http://gooru.org/taxonomy/crosswalk/fw’ -d ‘{\n\"codes\":[\n \"CCSS.K12.MA-1-G-A\",\n \"CCSS.K12.MA-1-MA-A\",\n \"CCSS.K12.MA-1-SA-A\"\n ],\n\"target_framework_id\":\"TEXAS\"\n}’", "language": "curl" } ] } [/block] **Response Structure** [block:parameters] { "data": { "h-0": "Key", "h-1": "Data Type", "h-2": "Description", "0-0": "<input display code>.code", "0-1": "String", "0-2": "Display code of input standard at the crosswalked / target framework.", "1-0": "<input display code>.title", "1-1": "String", "h-3": "Description", "0-3": "", "1-2": "Display title of input standard at the crosswalked / target framework.", "1-3": "", "2-0": "<input display code>.description", "2-1": "String", "2-2": "Description of input standard at the crosswalked / target framework.", "2-3": "" }, "cols": 3, "rows": 3 } [/block] **Sample Response** [block:code] { "codes": [ { "code": "{\n\"CCSS.K12.MA-1-G-A\": {\n\"code\":\"MA-1-G\",\n\"title\":\"Math grade 1 Shapes\",\n\"description\":\"\"\n},\n\"CCSS.K12.MA-1-MA-A\":{\n\"code\":\"MA-1-MA\",\n\"title\":\"Math grade 1 Counting\",\n\"description\":\"\"\n},\n\"CCSS.K12.MA-1-SA-A\":null\n}", "language": "json", "name": null } ] } [/block]