{"_id":"56ca15afb994b30d001dda74","category":{"_id":"54c6779d2b94bb19003d345e","project":"54c66cdf2b94bb19003d3424","version":"54c670dbf2ab9319008e8153","__v":5,"pages":["54c67804f0320f0d00ac9be4","54c6791e2b94bb19003d3460","54d6a3ee11e31f0d001b88fb","56ca1324147fab170077b9ed","56ca15afb994b30d001dda74"],"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-01-26T17:21:33.192Z","from_sync":false,"order":1,"slug":"api-endpoints","title":"API Endpoints"},"project":"54c66cdf2b94bb19003d3424","user":"54c9b68d7a11f60d0022aa25","__v":0,"version":{"_id":"54c670dbf2ab9319008e8153","forked_from":"54c66cdf2b94bb19003d3427","project":"54c66cdf2b94bb19003d3424","__v":3,"createdAt":"2015-01-26T16:52:43.765Z","releaseDate":"2015-01-26T16:52:43.765Z","categories":["54c670dcf2ab9319008e8154","54c6779d2b94bb19003d345e","54c67bfe2b94bb19003d3466"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"0.7.0","version":"0.7"},"editedParams":true,"editedParams2":true,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-02-21T19:53:19.576Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[{"name":"With invalid modname/modversion","status":200,"language":"json","code":"{\n\terror: \"No mod requested/Mod does not exist/Mod version does not exist\"\n}"},{"status":200,"language":"json","code":"{\n\tname: \"testmod\",\n\tpretty_name: \"TestMod\",\n\tauthor: \"Technic\",\n\tdescription: \"This is a test mod for Solder\",\n\tlink: \"http://solder.io\",\n\tdonate: null,\n\tversions: [\n\t\t\"0.1\"\n\t]\n}","name":"With no modversion"},{"status":200,"name":"With modversion","code":"{\n\tmd5: \"fb6582e4d9c9bc208181907ecc108eb1\",\n\turl: \"http://technic.pagefortress.com/mods/testmod/testmod-0.1.zip\"\n}","language":"json"}]},"settings":"","examples":{"codes":[]},"method":"get","auth":"required","params":[{"_id":"54c6791e2b94bb19003d3461","ref":"","in":"path","required":true,"desc":"The slug of the mod you wish to request","default":"","type":"string","name":"modname"},{"_id":"54c67a6bf0320f0d00ac9bed","ref":"","in":"path","required":false,"desc":"Specific modversion you wish to view","default":"","type":"string","name":"modversion"}],"url":"/mod/:modname/:modversion"},"isReference":false,"order":2,"body":"","excerpt":"","slug":"apimodmodnamemodversion","type":"endpoint","title":"/api/mod/:modname/:modversion"}

get/api/mod/:modname/:modversion


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

modname:
required
string
The slug of the mod you wish to request
modversion:
string
Specific modversion you wish to view

Result Format


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