{
"info": {
"author": "Stephen Breyer-Menke",
"author_email": "steve.bm@gmail.com",
"bugtrack_url": null,
"classifiers": [],
"description": "=========\nJSON Test\n=========\n\nAbout\n=====\n\nThis extension makes it simple to add a widget allowing users to test\nJSON requests against your api form the documentation. It has support \nfor parameters that get injected into the url path and to post JSON data\nto the api. It does not have support for query string parameters or form \nencoded post data (if you would like this, please add it and send a pull \nrequest).\n\nThere is support for client side `json-schema `_\nvalidation (currently only for draft04). jsontest uses\n`tv4 `_ for schema\nvalidation. jsontest supports loading schemas from different files provided\nthey can be accessed from the same host either using a relative path (e.g. \nsample.json) or a full path for the same host (e.g. /schemas/sample.json)\n\njsontest requires sphinxcontrib.httdomain documented apis and uses the \ndom to add events to elements on the page (it does expect a specific \nstructure of the dom).\n\njsontest was designed for use with the readthedocs sphinx theme - it has not\nbeen tested with the other themes. If you want to sue the read the docs theme\njust set the html_theme in your conf.py::\n\n html_theme = 'sphinx_rtd_theme'\n\nSetup\n=====\n\nTo install (assuming you have pip setup) just run::\n\n pip install sphinxcontrib-jsontest\n\nThen add sphinxcontrib.jsontest to your list of extensions in conf.py::\n\n extensions = ['sphinxcontrib.httpdomain', 'sphinxcontrib.jsontest'] \n\nUsage\n=====\n\nTo add teh test api functionality to an endpoint just add the directive\nin the block that generates the api endpoint (this is necessary because\njsontest relies on a failry specific dom structure)::\n\n .. jsontest::\n\njsontest can't figure out url args from the description yet, so if you rely\non them you have to add them to the url_args option for the directive as a \nline separated list of key=value pairs (where value is the default value)::\n\n .. jsontest::\n :url_args:\n customername=bob\n orderid=12\n\nIf you want to add a textarea for inputting json to the request just add the\njson_input option (with no argument)::\n\n .. jsontest::\n :json_input:\n\nAnd if you want to add a schema check to the json input add the schema option\nand pass the url or relative path to the schema file to validate against::\n\n .. jsontest::\n :json_input:\n :schema: schemas/test_input.json\n\nYou can combine the url_args, json_input and schema options.\n\nLicense\n=======\n\nThe code is available as \"public domain\", meaning that it is completely free to use,\nwithout any restrictions at all. Read the full license \n`here `_.\n\nIt's also available under an MIT license. `MIT license `_",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/stephenbm/sphinxcontrib.jsontest",
"keywords": null,
"license": "Public domain",
"maintainer": null,
"maintainer_email": null,
"name": "sphinxcontrib-jsontest",
"package_url": "https://pypi.org/project/sphinxcontrib-jsontest/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/sphinxcontrib-jsontest/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/stephenbm/sphinxcontrib.jsontest"
},
"release_url": "https://pypi.org/project/sphinxcontrib-jsontest/0.1.5/",
"requires_dist": null,
"requires_python": null,
"summary": "Sphinx extension allows you to test json apis",
"version": "0.1.5"
},
"last_serial": 1873557,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "d84b8baddd5e20712a07577d7a1238ab",
"sha256": "08757f322e6ac80fa3722d52f248ac54c9179f2e03b5b90e0d0b7ec73ae4859b"
},
"downloads": -1,
"filename": "sphinxcontrib-jsontest-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "d84b8baddd5e20712a07577d7a1238ab",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 18925,
"upload_time": "2015-12-19T11:02:44",
"url": "https://files.pythonhosted.org/packages/5b/2e/6af4920ee6b35cf2ca6c82cb38273365e49bc1c186f6a4c1552dd3b9949b/sphinxcontrib-jsontest-0.1.0.tar.gz"
}
],
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "7446195eb49c9a51c237ae80022c1da3",
"sha256": "e30f2b306059b60a8edc47299cc36d3f54b479fadfd86beeb4ef461d66d7e860"
},
"downloads": -1,
"filename": "sphinxcontrib-jsontest-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "7446195eb49c9a51c237ae80022c1da3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 19006,
"upload_time": "2015-12-21T08:23:50",
"url": "https://files.pythonhosted.org/packages/2d/24/c4a5de143ffa53dbeb549c47e9963d8682c6720da54d6dbde3456070bcb5/sphinxcontrib-jsontest-0.1.1.tar.gz"
}
],
"0.1.2": [
{
"comment_text": "",
"digests": {
"md5": "57be6b58d323954c95d0a0a8014d594a",
"sha256": "ea63304dd2311afc1ef4992ff760b9efe3fc8e250f76a40d063c878f355988fc"
},
"downloads": -1,
"filename": "sphinxcontrib-jsontest-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "57be6b58d323954c95d0a0a8014d594a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 19446,
"upload_time": "2015-12-21T13:41:03",
"url": "https://files.pythonhosted.org/packages/48/cf/33176b6eab17c2f1b29befa361426d5a4e37ee9d94bbac2254793be79599/sphinxcontrib-jsontest-0.1.2.tar.gz"
}
],
"0.1.3": [
{
"comment_text": "",
"digests": {
"md5": "ebdb5f8e5cfff7facaede583b8a54e88",
"sha256": "dee4c4c8ad93fa5a2452540bf543b8c43a32c28933326e484a644b5a8ec554ff"
},
"downloads": -1,
"filename": "sphinxcontrib-jsontest-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "ebdb5f8e5cfff7facaede583b8a54e88",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 19480,
"upload_time": "2015-12-21T16:10:23",
"url": "https://files.pythonhosted.org/packages/33/d0/044d3937587b68284da54597d53b76c207ad894d9ecdd57ae287136ca257/sphinxcontrib-jsontest-0.1.3.tar.gz"
}
],
"0.1.4": [
{
"comment_text": "",
"digests": {
"md5": "82e317596214db3022781ff3012cd99a",
"sha256": "a7f8306fd1f1f97b7cd0a71f63db4fbd74a31e1bbaebd8046583b85bc7bdb155"
},
"downloads": -1,
"filename": "sphinxcontrib-jsontest-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "82e317596214db3022781ff3012cd99a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 19441,
"upload_time": "2015-12-22T07:07:04",
"url": "https://files.pythonhosted.org/packages/1b/2c/2384e9ce8e4c7f4dc6c4afd118685cfedeb2d2f81bc0e6e3643684e39dc3/sphinxcontrib-jsontest-0.1.4.tar.gz"
}
],
"0.1.5": [
{
"comment_text": "",
"digests": {
"md5": "e7527eabbfc87017d46ce6b347cc5429",
"sha256": "dc2db36339ca4048ac588cc3d39b4d3760cde317c79851c3d6eb8f3bf711ce18"
},
"downloads": -1,
"filename": "sphinxcontrib-jsontest-0.1.5.tar.gz",
"has_sig": false,
"md5_digest": "e7527eabbfc87017d46ce6b347cc5429",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 19549,
"upload_time": "2015-12-22T11:10:57",
"url": "https://files.pythonhosted.org/packages/4d/67/491268d3cc6ed900b17fc9cbe0dd7def5d06864f106dfb43433119364baf/sphinxcontrib-jsontest-0.1.5.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "e7527eabbfc87017d46ce6b347cc5429",
"sha256": "dc2db36339ca4048ac588cc3d39b4d3760cde317c79851c3d6eb8f3bf711ce18"
},
"downloads": -1,
"filename": "sphinxcontrib-jsontest-0.1.5.tar.gz",
"has_sig": false,
"md5_digest": "e7527eabbfc87017d46ce6b347cc5429",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 19549,
"upload_time": "2015-12-22T11:10:57",
"url": "https://files.pythonhosted.org/packages/4d/67/491268d3cc6ed900b17fc9cbe0dd7def5d06864f106dfb43433119364baf/sphinxcontrib-jsontest-0.1.5.tar.gz"
}
]
}