Questions tagged [apiary.io]

Next generation platform for building and using REST APIs.

158 questions
0
votes
2 answers

Unable to update a Power BI table schema through the API with or without ApiaryIO

I am using Power BI API. I've got a dataset with some tables and rows. From Power BI API Console I don't have any issue when retrieving datasets or tables. However the PUT verb on a table resource to update its schema always returns a 504 - Proxy…
diegosasw
  • 8,724
  • 7
  • 66
  • 106
0
votes
1 answer

Apiary limiting a response return

So I'm using Apiary to hold and array of data, and then call the data to display on HTML but I only want Apiary to send a limited amount of data to HTML, not the full array. Still trying to get my head around Apiary syntax, so just wondering if I'm…
Whirlwind990
  • 99
  • 2
  • 14
0
votes
1 answer

Why doesn't the Apiary Console give a correct response for this API Blueprint?

I'm trying to create a simple demo of how API Blueprint works with Apiary.io. For the demo, I wanted to put an endpoint from the Mashape Weather API into blueprint. Here's the…
Tom Johnson
  • 689
  • 6
  • 17
0
votes
1 answer

Specify nested (object)s in Blueprint?

My nested-object Attribute shows no errors/warnings, but doesn't display usefully in apiary.io. What am I doing wrong? I have a structure (response body) like this: { "f1": "v1", "f2": "v2", "f3": { "f3f1": "v3v1", "f3f2": "v3v2" …
jackr
  • 1,346
  • 1
  • 13
  • 29
0
votes
1 answer

How to Get response with respect to Request in API Blueprint

We are looking at using the API Blueprint. There are cases where we would like to get Response on the basis of Request. So, anyone know how we can do it in API Blueprint.
Sajal
  • 1
  • 2
0
votes
1 answer

How to response for wrong passed parameter in Apiary?

I saw the following Action section inside of Apiary blueprint examples. I want to response with HTTP status 404 when the user passes a wrong parameter. for example when the user passes /questions/xyz instead of /questions/1. As you can see we…
MJBZA
  • 3,579
  • 4
  • 34
  • 67
0
votes
1 answer

Apiary - email parameter in URI definition, stopped working recently

In the last month or so, our Apiary API has broken. This is a major concern for us as our build keeps failing. It seems to be something to do with parameters in our URI definition, requiring URL encoding. E.g. for: GET…
khriskooper
  • 737
  • 7
  • 18
0
votes
1 answer

Creating Multiple Transactions based on Request

I'm mocking out a soap webservice and I can only get the default first response to return regardless of the request body. I'm basing my attempts off the docs Multiple Transaction Examples and I'm confused as to what I'm doing wrong. As an…
0
votes
1 answer

Apiary.io invalid JSON Body

Here is my invalid JSON Body Error on Apiary.io? What went wrong? My Request is like that: var body = { //JSON stuff.. }; $.ajax({ url : 'URL', type : 'POST', data : body, async: false, dataType : 'json', success : function (data) { …
0
votes
1 answer

Apiary Invalid Header

Im trying to send a request to the apiary API and the header is always invalid. The API expect charset as 'utf-8' which is correctly set in the code. At the inspector of the api website you can see that the request hast set charset as UTF-8... Why…
0
votes
2 answers

Mapping the Apiary with Restkit

I am using rest kit for mapping the response from REST api. When i am try to the response from the apiary.io, it is always mapping the response as error. Anyone have done this, please explain how to do this. For Example : I made request to the…
Arasuvel
  • 2,888
  • 1
  • 25
  • 39
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…
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…
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
  • 157
  • 1
  • 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
  • 3,933
  • 12
  • 31
  • 49
1 2 3
10
11