Questions tagged [apiary.io]

Next generation platform for building and using REST APIs.

162 questions
0
votes
1 answer

Adding comments to data structure in API Blueprint

I have two properties, one of which must be supplied. I was trying to add a comment at the bottom of the data structure but it was ignored. So I tried a multi line description but that was also ignored: # Data Structures ## Record (object) +…
sixeyes
  • 483
  • 3
  • 14
0
votes
1 answer

apiary service responding 410 Gone

I am using apiary service to generate the offline documentation using below command apiary preview --path=docs/tmpApi.apib It was working so far, but noticed today that it is giving error "apiary service responded with an error: 410 Gone". Any idea,…
0
votes
1 answer

What is the level displayed as "Default" in a apiblueprint document?

When i create a new api documentation in apiary.io, the rendered document and navigation shows structural level which are not visible in the editor: INTRODUCTION REFERENCE Default While I can accept the highest levels to generated magically, I…
Simon
  • 4,395
  • 8
  • 33
  • 50
0
votes
1 answer

How to format default dates for apiary blueprint?

Currently I'm trying to fix the following 2 warnings with the the following format. + start: `2015-05-05T12:30:00` - (optional, datetime) The start datetime (ISO8601 format) + Default: `0001-01-01-T12:00:00+00:00` + end: `2015-05-06T15:20:12`…
TealFawn
  • 329
  • 4
  • 14
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
  • 13,734
  • 16
  • 95
  • 159
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
  • 729
  • 8
  • 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,407
  • 1
  • 14
  • 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
  • 4,796
  • 8
  • 48
  • 97
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
  • 767
  • 8
  • 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,971
  • 1
  • 25
  • 40
1 2 3
10
11