-
Response 404
Whip!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kolotoc:~ netmilk$ git clone git://github.com/apiaryio/snowcrash.git | |
Cloning into 'snowcrash'... | |
remote: Counting objects: 2090, done. | |
remote: Compressing objects: 100% (702/702), done. | |
remote: Total 2090 (delta 1434), reused 1965 (delta 1311) | |
Receiving objects: 100% (2090/2090), 951.94 KiB | 700.00 KiB/s, done. | |
Resolving deltas: 100% (1434/1434), done. | |
Checking connectivity... done | |
kolotoc:~ netmilk$ cd snowcrash | |
kolotoc:snowcrash netmilk$ git submodule update --init --recursive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for i in `git log package.json | grep -e "^commit" | awk '{print $2}'`; do git diff $i^1 $i package.json 2>/dev/null | grep -e "\+ \"version\"" | sed s/,// | xargs echo $i | awk '{print "git tag -a v" $4 " " $1 " -m \"Bumped to version " $4 "\"" }'; done |
FORMAT: 1A
HOST: http://www.google.com
In this installement of the API Blueprint tutorial we will discuss how to describe API parameters. But first let's add more messages to our system. For that we would need introduce an message identifier – id. This id will be our parameter when communicating with our API about messages.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FORMAT: 1A | |
HOST: http://localhost | |
# example api | |
Is example api | |
# Group Users | |
Users related resources of the **Users API** | |
## Users Collection [/users] |
FORMAT: 1A
API Exmample for demonstration of different versions of JSON schema
- Request (application/json)
kolotoc:dredd-rack-sinatra-example netmilk$ bundle exec rake blueprint:verify
Verify the API conformance against its blueprint.
dredd doc/*.apib doc/*.apib.md --hookfiles doc/hooks/hooks-worker-client.coffee
info: Beginning Dredd testing...
info: Found Hookfiles: doc/hooks/hooks-worker-client.coffee
Spawning ruby worker
Dredd Ruby hooks worker is running
- Failing Dredd transactions programatically in hooks
- Dredd hooks chai integration
- Headers values are tested only for content-negotiation headers
- Dredd documentation & tutorials kickoff
- Writing Dredd hooks in Ruby
- "Cloud Dredd" production API testing - proof of concept
- Libpcap based HTTP interceptor (a.k.a SHAIN)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FORMAT: 1A | |
HOST: https://cryptic-badlands-8184.herokuapp.com/ | |
# Life saving API | |
# Emergency [/912] | |
# Request first aid [POST] | |
+ Request (application/json) |