It seems to save the JSON, but says there are # of methods displays as 0. I have also tried other people's configurations with the same result. When I go to our iodocs page, it is a 500 Internal Server Error.
Hey Josiah, /iodocs is for our beta/alpha version. Try going to /io-docs for the new version. Unfortunately, it looks like the Lulu theme expects some custom markup so the layout is breaking... that might require some customizations via JS or CSS.
For the schema, the github version is for the beta version. Unfortunately the docs for the new schema are not up yet (AFAIK), but here is Klout's example schema:
{
"name":"Klout API",
"version":"1.0",
"title":"Klout API",
"description":"",
"documentationLink":"",
"protocol":"rest",
"basePath":"http://api.klout.com/1",
"auth":{
"key":{
"param":"key"
}
},
"resources":{
"Score Methods":{
"methods":{
"Klout Score":{
"path":"/klout.:format",
"httpMethod":"GET",
"description":"This method allows you to retrieve a Klout score.",
"parameters":{
"users":{
"type":"string",
"required":true,
"default":"",
"description":"One or more (comma-separated) Twitter usernames.",
"location":"query"
},
":format":{
"type":"string",
"required":true,
"default":"json",
"description":"Output format as JSON or XML",
"enum":[
"json",
"xml"
],
"location":"pathReplace"
}
}
}
}
},
"User Methods":{
"methods":{
"Show User":{
"path":"/users/show.:format",
"httpMethod":"GET",
"description":"This method allows you to retrieve user objects.",
"parameters":{
"users":{
"type":"string",
"required":true,
"default":"",
"description":"One or more (comma-separated) Twitter usernames.",
"location":"query"
},
":format":{
"type":"string",
"required":true,
"default":"json",
"description":"Output format as JSON or XML",
"enum":[
"json",
"xml"
],
"location":"pathReplace"
}
}
},
"Topics":{
"path":"/users/topics.:format",
"httpMethod":"GET",
"description":"This method allows you to retrieve the top 3 topic objects for a given user.",
"parameters":{
"users":{
"type":"string",
"required":true,
"default":"",
"description":"One or more (comma-separated) Twitter usernames.",
"location":"query"
},
":format":{
"type":"string",
"required":true,
"default":"json",
"description":"Output format as JSON or XML",
"enum":[
"json",
"xml"
],
"location":"pathReplace"
}
}
}
}
},
"Relationship Methods":{
"methods":{
"Influenced By":{
"path":"/soi/influenced_by.:format",
"httpMethod":"GET",
"description":"This method allows you to retrieve up to 5 user score pairs for users that are influenced by the given influencer.",
"parameters":{
"users":{
"type":"string",
"required":true,
"default":"",
"description":"One or more (comma-separated) Twitter usernames.",
"location":"query"
},
":format":{
"type":"string",
"required":true,
"default":"json",
"description":"Output format as JSON or XML",
"enum":[
"json",
"xml"
],
"location":"pathReplace"
}
}
},
"Influencer Of":{
"path":"/soi/influenced_of.:format",
"httpMethod":"GET",
"description":"This method allows you to retrieve up to 5 user score pairs for users that are influencers of the given user.",
"parameters":{
"users":{
"type":"string",
"required":true,
"default":"",
"description":"One or more (comma-separated) Twitter usernames.",
Kelly, the new schema looks like it has some great improvements. Can you provide a link to the new version? https://github.com/mashery/io-docs is not found. Thanks.
Hi Chris, are you trying to configure the open-source version of I/O Docs or the Mashery dashboard configured version of I/O Docs? We have not yet migrated the open-source project with the capability of reading in the new JSON format we introduced with our Mashery product release. Feel free to reach out directly to me via e-mail: neil at mashery dot com.
I have attempted to configure iodocs using the example JSON provided on github - https://github.com/mashery/iodocs
It seems to save the JSON, but says there are # of methods displays as 0. I have also tried other people's configurations with the same result. When I go to our iodocs page, it is a 500 Internal Server Error.
Any idea what's going on here?
Message edited by Josiah Gore 2 months ago
Tags
Kelly Miyashiro – 2 years ago
Hey Josiah, /iodocs is for our beta/alpha version. Try going to /io-docs for the new version. Unfortunately, it looks like the Lulu theme expects some custom markup so the layout is breaking... that might require some customizations via JS or CSS.
For the schema, the github version is for the beta version. Unfortunately the docs for the new schema are not up yet (AFAIK), but here is Klout's example schema:
Chris Hansen – 2 years ago
Kelly, the new schema looks like it has some great improvements. Can you provide a link to the new version? https://github.com/mashery/io-docs is not found. Thanks.
ManDevPro – 2 years ago
Hi Chris, are you trying to configure the open-source version of I/O Docs or the Mashery dashboard configured version of I/O Docs? We have not yet migrated the open-source project with the capability of reading in the new JSON format we introduced with our Mashery product release. Feel free to reach out directly to me via e-mail: neil at mashery dot com.
Louis St-Amour, BiblioCommons – 2 months ago
For those hunting for it, the PDF guide with updated auth section is here: http://support.mashery.com/files/Mashery_IO_Docs_Configuration_Guide_11132012.pdf