grim/resticide
Clone
Summary
Browse
Changes
Graph
Add a bunch of stuff to the readme
develop
tip
2016-07-09, Gary Kramlich
f8bc0c4813a9
Add a bunch of stuff to the readme
{
"name"
:
"httpbin get x 2"
,
"requests"
:
[{
"path"
:
"/get"
,
"method"
:
"GET"
,
"headers"
:
{
"X-RESTICIDE"
:
[
"first"
]
},
"response"
:
{
"statuscode"
:
200
,
"json-schema"
:
{
"$schema"
:
"http://json-schema.org/draft-04/schema#"
,
"type"
:
"object"
,
"additionalProperties"
:
false
,
"properties"
:
{
"args"
:
{
"type"
:
"object"
,
"additionalProperties"
:
{
"type"
:
"string"
}
},
"headers"
:
{
"type"
:
"object"
,
"additionalProperties"
:
{
"type"
:
"array"
,
"items"
:
"string"
},
"properties"
:
{
"X-RESTICIDE"
:
{
"enum"
:
[
"first"
]}
}
},
"origin"
:
{
"type"
:
"string"
},
"url"
:
{
"type"
:
"string"
}
},
"required"
:
[
"args"
,
"headers"
,
"origin"
,
"url"
]
}
}
},
{
"path"
:
"/get"
,
"method"
:
"GET"
,
"headers"
:
{
"X-RESTICIDE"
:
[
"second"
]
},
"response"
:
{
"statuscode"
:
200
,
"json-schema"
:
{
"$schema"
:
"http://json-schema.org/draft-04/schema#"
,
"type"
:
"object"
,
"additionalProperties"
:
false
,
"properties"
:
{
"args"
:
{
"type"
:
"object"
,
"additionalProperties"
:
{
"type"
:
"string"
}
},
"headers"
:
{
"type"
:
"object"
,
"additionalProperties"
:
{
"type"
:
"string"
},
"properties"
:
{
"X-RESTICIDE"
:
{
"enum"
:
[
"second"
]}
}
},
"origin"
:
{
"type"
:
"string"
},
"url"
:
{
"type"
:
"string"
}
},
"required"
:
[
"args"
,
"headers"
,
"origin"
,
"url"
]
}
}
}]
}