Skip to content

Instantly share code, notes, and snippets.

@netmilk
netmilk / apary.apib
Created April 7, 2017 13:56
Complex MSON enums usage in API blueprint
FORMAT: 1A
# API with enums
# Resource [/resourc]
## Action [POST]
+ Request (application/json)
+ Attributes
@netmilk
netmilk / apiary.apib
Created April 11, 2017 14:15
Fixed-type MSON array minimal example
FORMAT: 1A
# Fixed-type Example MSON
## Resource [/resource]
### Action [GET]
+ Response 200 (application/json)
@netmilk
netmilk / cars_api.md
Last active September 16, 2017 16:52
REST Full JSON example

Cars API

Car [/car{?id}]

{
 "id": "1",
 "url": "/car?id=1",
 "maker": "vw"
}
http://129.144.149.144:7001/inventory
http://Production-Gateway-LB-NA-2018238060.us-west-2.elb.amazonaws.com/inventory
http://129.146.21.240:30280/docs/j4c-ecommerce-inventory.apib
@netmilk
netmilk / zeit-now-env-vars.txt
Created October 21, 2018 14:02
Zeit Now Default Environment Variables Dump
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME: 6232f98df0bd
NOW: 1
NOW_DC: bru1
NOW_REGION: now-bru
NOW_URL: https://zeit-env-dump-bafdhbyqhd.now.sh
AUTH_TOKEN: f8b82b618044dd02b1fff5f0a22af6f2b11707eb15b17bdb5799e554c4d4b751
DEPLOYMENT_ID: U8pvE1U82S69peP8Xrwm9wok
NOW_PLAN:
TEMP: /tmp