Next generation platform for building and using REST APIs.
Questions tagged [apiary.io]
162 questions
0
votes
1 answer
How can I get multiple %-encoded parameters into an apiary URI template?
The ApiaryIO spec—actually the RFC to which it points—indicates that you cannot use "." in a parameter name, you need to encode it to "%2E". That's fine, but there seems to be a bug where Apiary can only handle one such encoding. For example, the…

Jason Vertrees
- 1
- 1
0
votes
1 answer
Can Apiary disallow or reroute POSTs so data isn't created on production?
I am adding some POST and PUT routes in my docs on Apiary. If the reader tries testing these routes in the example portion of Apiary.io site they may end up creating bad data on our production server since the URI points right to it.
Aside from…

Jason Vertrees
- 1
- 1
0
votes
1 answer
Apiary io mixing up json from iOS
I am trying to send a simple json object from iOS to apiary server. I printout my json object after creating it and everything looks good. But apiary is showing everything mixed up. If I have only one item, then it looks fine.
Here I create the…

billy
- 167
- 2
- 12
0
votes
1 answer
node.js - grunt - return parsed data from callback
I want to use API blueprint and make it automatically with grunt. I want to read apiary (tool for API blueprint) file, parsing it (with Protagonist which is API Blueprint Parser for Node.js), stringify it to the JSON format and write into another…

Jaroslav Klimčík
- 4,548
- 12
- 39
- 58
0
votes
1 answer
How to add value description with API Blueprint?
Is there any way to add a description to possible values of URI parameter?
## Search Items [/items{?s}]
### Get items [GET]
+ Parameters
+ s (optional, values) ... Sort results by
+ Values
+ `1 - price`
+ `4 -…

LA_
- 19,823
- 58
- 172
- 308
0
votes
1 answer
Can sole resources be added to the table of contents?
This
FORMAT: 1A
HOST: something.com
# Something API
# Group Something
Foobar description
## Some Route [/routeroute]
Foobar description
### Some HTML Action [GET]
+ Response 200 (text/plain)
# Group Something 2
Foobar description…

Meredith
- 3,928
- 4
- 33
- 58
0
votes
1 answer
Return an image from an Apiary call
How do I return an image from an apiary call?
## first image [/image/369]
### Complete [GET]
+ Response 200 (image/png)
xxxxxxxx

Greg Pagendam-Turner
- 2,356
- 5
- 32
- 49
0
votes
1 answer
Why does Apiary.io call take so long under Chrome
I've got a jsfiddle: http://jsfiddle.net/netroworx/3ea5a/
Html is:
Javascript is:
function AjaxCtrl($scope, $http) {
$scope.result = "ABC";
$scope.data = { "title":…
{{result}}

Greg Pagendam-Turner
- 2,356
- 5
- 32
- 49
0
votes
1 answer
Is this the correct way to call an API in Javascript
I am quite new to javascript and calling APIs. Here is my code. I am trying to call an API on apiary.
The API call is linked to an event listener (button click):
$.lbl_sloganLabel.addEventListener('click', function(e) {
// call api function
…

bobo2000
- 1,779
- 7
- 31
- 54
0
votes
1 answer
Multiple authentication methods for Apiary
I'm just getting started with Apiary and I can't tell if this is a limitation of the product or just me not understanding what to do.
I'm documenting an API which authenticates the user as part of every request. Sometimes the authentication is part…

JMRboosties
- 15,500
- 20
- 76
- 116
0
votes
1 answer
Batch updating point balances for multiple users
How do I batch update the points balances for multiple Wallet Objects in a single HTTP request.

Ameya
- 880
- 6
- 13
-1
votes
1 answer
.NET piaryProvider VS the regular .NET System.Net.WebRequest
Just started to work with ApiAry as a client/consumer and I’m wondering what is the best way to do it.
Should I use the regular .NET System.Net.WebRequest or ApiaryProvider (http://fsprojects.github.io/ApiaryProvider/) and why?
If someone can help…

Omtechguy
- 3,321
- 7
- 37
- 71