Skip to content

Instantly share code, notes, and snippets.

@humitos
Last active March 6, 2019 08:14
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save humitos/4c0eab5c4afbca4fa10894c59d2cde09 to your computer and use it in GitHub Desktop.
curl -H 'Authorization: Token 123' '/api/v3/projects/requests/?expand=users,active_versions,active_versions.last_build'
{
"id": 668,
"name": "requests",
"slug": "requests",
"description": "HTTP Requests for Humans.",
"created": "2011-04-14T19:02:07.129987Z",
"modified": "2019-03-06T08:10:44.246047Z",
"language": {
"code": "en",
"name": "English"
},
"programming_language": {
"code": "words",
"name": "Only Words"
},
"repository": {
"url": "git://github.com/requests/requests.git",
"type": "git"
},
"default_version": "latest",
"default_branch": "master",
"privacy_level": {
"code": "public",
"name": "Public"
},
"subproject_of": null,
"translation_of": null,
"urls": {
"documentation": "http://localhost:8000/docs/requests/projects/asdf/en/latest/",
"project": "https://github.com/requests/requests"
},
"tags": [
"python",
"package",
"http",
"requests"
],
"links": {
"_self": "http://localhost:8000/api/v3/projects/requests/",
"versions": "http://localhost:8000/api/v3/projects/requests/versions/",
"builds": "http://localhost:8000/api/v3/projects/requests/builds/",
"subprojects": "http://localhost:8000/api/v3/projects/requests/subprojects/",
"superprojects": "http://localhost:8000/api/v3/projects/requests/superprojects/",
"translations": "http://localhost:8000/api/v3/projects/requests/translations/"
},
"users": [
{
"username": "humitos",
"date_joined": "2018-01-18T09:49:40.523610Z",
"last_login": "2019-03-06T08:10:15.951765Z",
"first_name": "",
"last_name": ""
}
],
"active_versions": [
{
"id": 4167,
"slug": "v2.21.0",
"verbose_name": "v2.21.0",
"identifier": "5a1e738ea9c399c3f59977f2f98b083986d6037a",
"ref": null,
"built": true,
"active": true,
"uploaded": false,
"privacy_level": {
"code": "public",
"name": "Public"
},
"type": "tag",
"downloads": {
"htmlzip": "http://localhost:8000/projects/requests/downloads/htmlzip/v2.21.0/"
},
"urls": {
"documentation": "http://localhost:8000/docs/requests/projects/asdf/en/v2.21.0/",
"vcs": "https://github.com/requests/requests/tree/v2.21.0/"
},
"links": {
"_self": "http://localhost:8000/api/v3/projects/requests/versions/v2.21.0/",
"builds": "http://localhost:8000/api/v3/projects/requests/versions/v2.21.0/builds/",
"project": "http://localhost:8000/api/v3/projects/requests/"
},
"last_build": {
"id": 1982,
"version": "v2.21.0",
"project": "requests",
"created": "2019-01-23T15:55:44.210744Z",
"finished": "2019-01-23T15:56:48.210744Z",
"duration": 64,
"state": "finished",
"success": true,
"error": "",
"commit": "5a1e738ea9c399c3f59977f2f98b083986d6037a",
"builder": "julia",
"cold_storage": null,
"links": {
"_self": "http://localhost:8000/api/v3/projects/requests/builds/1982/",
"version": "http://localhost:8000/api/v3/projects/requests/versions/v2.21.0/",
"project": "http://localhost:8000/api/v3/projects/requests/"
},
"config": {
"version": "1",
"formats": [
"htmlzip",
"epub",
"pdf"
],
"python": {
"version": 2,
"install": [
{
"requirements": null
}
],
"use_system_site_packages": true
},
"conda": null,
"build": {
"image": "readthedocs/build:3.0_dev"
},
"doctype": "sphinx_htmldir",
"sphinx": {
"builder": "sphinx_htmldir",
"configuration": "/home/humitos/rtfd/code/readthedocs.org/user_builds/requests/checkouts/v2.21.0/docs/conf.py",
"fail_on_warning": false
},
"mkdocs": {
"configuration": null,
"fail_on_warning": false
},
"submodules": {
"include": "all",
"exclude": [],
"recursive": true
}
}
}
},
{
"id": 2927,
"slug": "v2.19.1",
"verbose_name": "v2.19.1",
"identifier": "883caaf145fbe93bd0d208a6b864de9146087312",
"ref": null,
"built": true,
"active": true,
"uploaded": false,
"privacy_level": {
"code": "public",
"name": "Public"
},
"type": "tag",
"downloads": {
"htmlzip": "http://localhost:8000/projects/requests/downloads/htmlzip/v2.19.1/"
},
"urls": {
"documentation": "http://localhost:8000/docs/requests/projects/asdf/en/v2.19.1/",
"vcs": "https://github.com/requests/requests/tree/v2.19.1/"
},
"links": {
"_self": "http://localhost:8000/api/v3/projects/requests/versions/v2.19.1/",
"builds": "http://localhost:8000/api/v3/projects/requests/versions/v2.19.1/builds/",
"project": "http://localhost:8000/api/v3/projects/requests/"
},
"last_build": {
"id": 1976,
"version": "v2.19.1",
"project": "requests",
"created": "2019-01-23T15:47:17.762064Z",
"finished": "2019-01-23T15:47:28.762064Z",
"duration": 11,
"state": "finished",
"success": false,
"error": "",
"commit": "883caaf145fbe93bd0d208a6b864de9146087312",
"builder": "julia",
"cold_storage": null,
"links": {
"_self": "http://localhost:8000/api/v3/projects/requests/builds/1976/",
"version": "http://localhost:8000/api/v3/projects/requests/versions/v2.19.1/",
"project": "http://localhost:8000/api/v3/projects/requests/"
},
"config": {
"version": "1",
"formats": [
"htmlzip",
"epub",
"pdf"
],
"python": {
"version": 2,
"install": [
{
"requirements": null
}
],
"use_system_site_packages": true
},
"conda": null,
"build": {
"image": "readthedocs/build:3.0_dev"
},
"doctype": "sphinx_htmldir",
"sphinx": {
"builder": "sphinx_htmldir",
"configuration": "/home/humitos/rtfd/code/readthedocs.org/user_builds/requests/checkouts/v2.19.1/docs/conf.py",
"fail_on_warning": false
},
"mkdocs": {
"configuration": null,
"fail_on_warning": false
},
"submodules": {
"include": "all",
"exclude": [],
"recursive": true
}
}
}
},
{
"id": 513,
"slug": "v2.18.4",
"verbose_name": "v2.18.4",
"identifier": "a3d7cf3f27e74c28ef30f01e9f2e483570ab042e",
"ref": null,
"built": true,
"active": true,
"uploaded": false,
"privacy_level": {
"code": "public",
"name": "Public"
},
"type": "tag",
"downloads": {
"htmlzip": "http://localhost:8000/projects/requests/downloads/htmlzip/v2.18.4/"
},
"urls": {
"documentation": "http://localhost:8000/docs/requests/projects/asdf/en/v2.18.4/",
"vcs": "https://github.com/requests/requests/tree/v2.18.4/"
},
"links": {
"_self": "http://localhost:8000/api/v3/projects/requests/versions/v2.18.4/",
"builds": "http://localhost:8000/api/v3/projects/requests/versions/v2.18.4/builds/",
"project": "http://localhost:8000/api/v3/projects/requests/"
},
"last_build": {
"id": 1977,
"version": "v2.18.4",
"project": "requests",
"created": "2019-01-23T15:47:17.803323Z",
"finished": "2019-01-23T15:48:02.803323Z",
"duration": 45,
"state": "finished",
"success": true,
"error": "",
"commit": "a3d7cf3f27e74c28ef30f01e9f2e483570ab042e",
"builder": "julia",
"cold_storage": null,
"links": {
"_self": "http://localhost:8000/api/v3/projects/requests/builds/1977/",
"version": "http://localhost:8000/api/v3/projects/requests/versions/v2.18.4/",
"project": "http://localhost:8000/api/v3/projects/requests/"
},
"config": {
"version": "1",
"formats": [
"htmlzip",
"epub",
"pdf"
],
"python": {
"version": 2,
"install": [
{
"requirements": null
}
],
"use_system_site_packages": true
},
"conda": null,
"build": {
"image": "readthedocs/build:3.0_dev"
},
"doctype": "sphinx_htmldir",
"sphinx": {
"builder": "sphinx_htmldir",
"configuration": "/home/humitos/rtfd/code/readthedocs.org/user_builds/requests/checkouts/v2.18.4/docs/conf.py",
"fail_on_warning": false
},
"mkdocs": {
"configuration": null,
"fail_on_warning": false
},
"submodules": {
"include": "all",
"exclude": [],
"recursive": true
}
}
}
},
{
"id": 543,
"slug": "stable",
"verbose_name": "stable",
"identifier": "5a1e738ea9c399c3f59977f2f98b083986d6037a",
"ref": "v2.21.0",
"built": true,
"active": true,
"uploaded": false,
"privacy_level": {
"code": "public",
"name": "Public"
},
"type": "tag",
"downloads": {
"htmlzip": "http://localhost:8000/projects/requests/downloads/htmlzip/stable/"
},
"urls": {
"documentation": "http://localhost:8000/docs/requests/projects/asdf/en/stable/",
"vcs": "https://github.com/requests/requests/tree/v2.21.0/"
},
"links": {
"_self": "http://localhost:8000/api/v3/projects/requests/versions/stable/",
"builds": "http://localhost:8000/api/v3/projects/requests/versions/stable/builds/",
"project": "http://localhost:8000/api/v3/projects/requests/"
},
"last_build": {
"id": 1981,
"version": "stable",
"project": "requests",
"created": "2019-01-23T15:55:44.190778Z",
"finished": "2019-01-23T15:56:31.190778Z",
"duration": 47,
"state": "finished",
"success": true,
"error": "",
"commit": "5a1e738ea9c399c3f59977f2f98b083986d6037a",
"builder": "julia",
"cold_storage": null,
"links": {
"_self": "http://localhost:8000/api/v3/projects/requests/builds/1981/",
"version": "http://localhost:8000/api/v3/projects/requests/versions/stable/",
"project": "http://localhost:8000/api/v3/projects/requests/"
},
"config": {
"version": "1",
"formats": [
"htmlzip",
"epub",
"pdf"
],
"python": {
"version": 2,
"install": [
{
"requirements": null
}
],
"use_system_site_packages": true
},
"conda": null,
"build": {
"image": "readthedocs/build:3.0_dev"
},
"doctype": "sphinx_htmldir",
"sphinx": {
"builder": "sphinx_htmldir",
"configuration": "/home/humitos/rtfd/code/readthedocs.org/user_builds/requests/checkouts/stable/docs/conf.py",
"fail_on_warning": false
},
"mkdocs": {
"configuration": null,
"fail_on_warning": false
},
"submodules": {
"include": "all",
"exclude": [],
"recursive": true
}
}
}
},
{
"id": 402,
"slug": "latest",
"verbose_name": "latest",
"identifier": "master",
"ref": null,
"built": true,
"active": true,
"uploaded": false,
"privacy_level": {
"code": "public",
"name": "Public"
},
"type": "branch",
"downloads": {
"htmlzip": "http://localhost:8000/projects/requests/downloads/htmlzip/latest/"
},
"urls": {
"documentation": "http://localhost:8000/docs/requests/projects/asdf/en/latest/",
"vcs": "https://github.com/requests/requests/tree/master/"
},
"links": {
"_self": "http://localhost:8000/api/v3/projects/requests/versions/latest/",
"builds": "http://localhost:8000/api/v3/projects/requests/versions/latest/builds/",
"project": "http://localhost:8000/api/v3/projects/requests/"
},
"last_build": {
"id": 2070,
"version": "latest",
"project": "requests",
"created": "2019-03-06T08:10:44.396510Z",
"finished": "2019-03-06T08:11:10.396510Z",
"duration": 26,
"state": "finished",
"success": true,
"error": "",
"commit": "a345b776fb2cf67d1a1810349e71fd60a83f53eb",
"builder": "julia",
"cold_storage": null,
"links": {
"_self": "http://localhost:8000/api/v3/projects/requests/builds/2070/",
"version": "http://localhost:8000/api/v3/projects/requests/versions/latest/",
"project": "http://localhost:8000/api/v3/projects/requests/"
},
"config": {
"version": "1",
"formats": [
"htmlzip"
],
"python": {
"version": 3,
"install": [
{
"requirements": null
}
],
"use_system_site_packages": true
},
"conda": null,
"build": {
"image": "readthedocs/build:latest"
},
"doctype": "sphinx_htmldir",
"sphinx": {
"builder": "sphinx_htmldir",
"configuration": "/home/humitos/rtfd/code/readthedocs.org/user_builds/requests/checkouts/latest/docs/conf.py",
"fail_on_warning": false
},
"mkdocs": {
"configuration": null,
"fail_on_warning": false
},
"submodules": {
"include": "all",
"exclude": [],
"recursive": true
}
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment