Skip to content

Commit f9346d3

Browse files
committed
Include 'redirects' in '_links' responses
1 parent e1e92d3 commit f9346d3

File tree

5 files changed

+6
-0
lines changed

5 files changed

+6
-0
lines changed

readthedocs/api/v3/tests/responses/projects-detail.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"_links": {
6161
"_self": "https://readthedocs.org/api/v3/projects/project/",
6262
"builds": "https://readthedocs.org/api/v3/projects/project/builds/",
63+
"redirects": "https://readthedocs.org/api/v3/projects/project/redirects/",
6364
"subprojects": "https://readthedocs.org/api/v3/projects/project/subprojects/",
6465
"superproject": "https://readthedocs.org/api/v3/projects/project/superproject/",
6566
"translations": "https://readthedocs.org/api/v3/projects/project/translations/",

readthedocs/api/v3/tests/responses/projects-list.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"_self": "https://readthedocs.org/api/v3/projects/project/",
5050
"versions": "https://readthedocs.org/api/v3/projects/project/versions/",
5151
"builds": "https://readthedocs.org/api/v3/projects/project/builds/",
52+
"redirects": "https://readthedocs.org/api/v3/projects/project/redirects/",
5253
"subprojects": "https://readthedocs.org/api/v3/projects/project/subprojects/",
5354
"superproject": "https://readthedocs.org/api/v3/projects/project/superproject/",
5455
"translations": "https://readthedocs.org/api/v3/projects/project/translations/"

readthedocs/api/v3/tests/responses/projects-subprojects-list.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
"_self": "https://readthedocs.org/api/v3/projects/project/",
6969
"versions": "https://readthedocs.org/api/v3/projects/project/versions/",
7070
"builds": "https://readthedocs.org/api/v3/projects/project/builds/",
71+
"redirects": "https://readthedocs.org/api/v3/projects/project/redirects/",
7172
"subprojects": "https://readthedocs.org/api/v3/projects/project/subprojects/",
7273
"superproject": "https://readthedocs.org/api/v3/projects/project/superproject/",
7374
"translations": "https://readthedocs.org/api/v3/projects/project/translations/"
@@ -90,6 +91,7 @@
9091
"_self": "https://readthedocs.org/api/v3/projects/subproject/",
9192
"versions": "https://readthedocs.org/api/v3/projects/subproject/versions/",
9293
"builds": "https://readthedocs.org/api/v3/projects/subproject/builds/",
94+
"redirects": "https://readthedocs.org/api/v3/projects/subproject/redirects/",
9395
"subprojects": "https://readthedocs.org/api/v3/projects/subproject/subprojects/",
9496
"superproject": "https://readthedocs.org/api/v3/projects/subproject/superproject/",
9597
"translations": "https://readthedocs.org/api/v3/projects/subproject/translations/"

readthedocs/api/v3/tests/responses/projects-superproject.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"_links": {
1212
"_self": "https://readthedocs.org/api/v3/projects/project/",
1313
"builds": "https://readthedocs.org/api/v3/projects/project/builds/",
14+
"redirects": "https://readthedocs.org/api/v3/projects/project/redirects/",
1415
"subprojects": "https://readthedocs.org/api/v3/projects/project/subprojects/",
1516
"superproject": "https://readthedocs.org/api/v3/projects/project/superproject/",
1617
"translations": "https://readthedocs.org/api/v3/projects/project/translations/",

readthedocs/api/v3/tests/responses/projects-versions-builds-list_POST.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"_links": {
3333
"_self": "https://readthedocs.org/api/v3/projects/project/",
3434
"builds": "https://readthedocs.org/api/v3/projects/project/builds/",
35+
"redirects": "https://readthedocs.org/api/v3/projects/project/redirects/",
3536
"subprojects": "https://readthedocs.org/api/v3/projects/project/subprojects/",
3637
"superproject": "https://readthedocs.org/api/v3/projects/project/superproject/",
3738
"translations": "https://readthedocs.org/api/v3/projects/project/translations/",

0 commit comments

Comments
 (0)