Questions tagged [apiary.io]

Next generation platform for building and using REST APIs.

162 questions
0
votes
1 answer

Is apiary.io available as non-hosted solution?

Can apiary.io be used as a purely private on-premise solution as opposed to a hosted solution that is offered?
GilliVilla
  • 4,998
  • 11
  • 55
  • 96
0
votes
1 answer

API blueprint (e.g.: Apiary) - tool to generate json body from blueprint

Is there a tool to help in making example JSON bodies from the API blueprint syntax? For example if I have laid out the attributes like this: + Attributes (object) + data (array) + (object) + id: 100 (number) - The ID for the…
Andy
  • 2,095
  • 1
  • 29
  • 59
0
votes
1 answer

Wrapping Data Structure in a data key API Blueprint / Apiary

So let's say I have a 200 response which body should be: { "data": [ { "id": 1, "title": "Activity 1" }, { "id": 1, "title": "Activity 2" } ] } I have managed to get this behavior of the response body by…
Pistachio
  • 1,652
  • 1
  • 18
  • 38
0
votes
1 answer

Use of variables in blueprint with apiary

is possible to define some kind of a constant parameter, that we can reuse in several requests? For example, if I have several endpoints and in all of them I need the same id (a book id for example), is there any chance to define once in the…
0
votes
1 answer

How to import a file using apiary?

I want to browse a file from my system and want import it using apiray so how I can do that please help me into this.
Suraj Dalvi
  • 988
  • 1
  • 20
  • 34
0
votes
1 answer

Apiary: Different responses possible per different bodies in POST requests?

Using Apiary.io, is it possible to POST requests to the same endpoint, which contains different content in the body, and return different HTTP 201 responses, based on the request body? Only, we have an API that returns calculated data based on data…
metalhead
  • 21
  • 4
0
votes
1 answer

API Blueprint - Use Data Strucutres in response, without Attributes

I'm using Apiary to mock out a new API. I'm trying to avoid having to write out all the JSON responses over and over again. If I do that using a + Attributes(user) then it will auto generate a bunch of attributes blocks in the machine panel, which…
Drew Baker
  • 14,154
  • 15
  • 58
  • 97
0
votes
2 answers

Dredd can't find my API documentation, how do i tell it where it is if it's not on my local drive (it's on apiary.io server)

I am using the Dredd tool to test my API (which resides on apiary.io). Question I would like to provide dredd with a path to my documentation (it even asks for it), however my API doc is on apiary.io but i don't know the exact url that points to it.…
Shachar R
  • 311
  • 1
  • 2
  • 8
0
votes
1 answer

Mixed API Blueprint / MSON property

I'm trying to create a data structure object. There are two possible values to one of its properties but they are of mixed type. Some of the time, it may be a number, but some of the time it may be an array of strings. {"collectorNo":…
voldomazta
  • 1,300
  • 1
  • 10
  • 19
0
votes
1 answer

Conditional parameters based on another parameter's value

What is the format for parameters if I have condition where some parameters can be changed based on another param's value. Eg: I have payment methods: paypal, bank transfer, etc. + amount (required, number, `1200`) ... charge amount + method…
red
  • 117
  • 1
  • 11
0
votes
1 answer

how to recover earlier version of an apiray blueprint file

I was creating the documentation for my project using the apiray bueprint file. I made some changes and accidentally pressed save and publish. Now i want to recover the earlier version of that file. How can i do that ? Is there some way to revert…
oblivion
  • 5,928
  • 3
  • 34
  • 55
0
votes
1 answer

Real time power bi dashboard update without refreshing the browser

I was able to create dataset and add rows to the table using power bi Rest API methods via apiary. My dashboard is only updated with the data after refreshing the browser. What I need to do for experiencing the real time refreshing of the dashboard…
chenk
  • 392
  • 7
  • 27
0
votes
1 answer

Change APIARY GET URL parameters for testing in the built in REST client

In Apiary we use http://baasar.apiary-mock.com/user/{appId}/{userId} where appId and userId are URL parameters. Apiary has a builtin REST Client to test these APIs against a mockup and production API. However, trying to test the above API, how do i…
Chizuoka
  • 57
  • 1
  • 10
0
votes
1 answer

Dredd seems to hang with api calls to asp.net kestrel server

When I run dredd, it seems to just hang after the first api call. I'm not sure how to debug or diagnose. I'm running an asp.net 5 mvc 6 api service with the dnx web command. How can I see what's going on or what the issue might be? I tried adding…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
0
votes
1 answer

Markdown to get resource in "v1" version of the API with Apiary

I'd like to have an API documentation segmented per version of the API. So my host is: http://api.clementlevallois.net/apitest/ The api version is: v1 The resource is: get/{id} And I'd like the doc to generate: …
seinecle
  • 10,118
  • 14
  • 61
  • 120