Skip to content

Commit f06b172

Browse files
Use the correct URLs
1 parent 3ba4737 commit f06b172

15 files changed

+20
-20
lines changed

pages/agents/agents.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ sections:
4545
description: /agents/label-add-to-an-agent.md
4646
code: /agents/label-add-to-an-agent.py
4747
code_type: POST
48-
code_url: /api/agents/<id>/add-label/
48+
code_url: /api/agents/<id>/add_label/
4949
response: /agents/label-add-to-an-agent.json
5050
-
5151
title: Removing a Label from an Agent
5252
id: label-remove-from-an-agent
5353
description: /agents/label-remove-from-an-agent.md
5454
code: /agents/label-remove-from-an-agent.py
5555
code_type: POST
56-
code_url: /api/agents/<id>/add-label/
56+
code_url: /api/agents/<id>/add_label/
5757
response: /agents/label-remove-from-an-agent.json
5858

pages/agents/label-add-to-an-agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
data = {
55
'label': 2,
66
}
7-
r = requests.post('https://secure.tutorcruncher.com/api/agents/65/add-label/', json=data, headers=headers)
7+
r = requests.post('https://secure.tutorcruncher.com/api/agents/65/add_label/', json=data, headers=headers)
88
pprint.pprint(r.json())

pages/agents/label-remove-from-an-agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
data = {
55
'label': 2,
66
}
7-
r = requests.post('https://secure.tutorcruncher.com/api/agents/65/remove-label/', json=data, headers=headers)
7+
r = requests.post('https://secure.tutorcruncher.com/api/agents/65/remove_label/', json=data, headers=headers)
88
pprint.pprint(r.json())

pages/clients/clients.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ sections:
4545
description: /clients/label-add-to-a-client.md
4646
code: /clients/label-add-to-a-client.py
4747
code_type: POST
48-
code_url: /api/clients/<id>/add-label/
48+
code_url: /api/clients/<id>/add_label/
4949
response: /clients/label-add-to-a-client.json
5050
-
5151
title: Removing a Label from a Client
5252
id: label-remove-from-a-client
5353
description: /clients/label-remove-from-a-client.md
5454
code: /clients/label-remove-from-a-client.py
5555
code_type: POST
56-
code_url: /api/clients/<id>/add-label/
56+
code_url: /api/clients/<id>/add_label/
5757
response: /clients/label-remove-from-a-client.json

pages/clients/label-add-to-a-client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
data = {
55
'label': 2,
66
}
7-
r = requests.post('https://secure.tutorcruncher.com/api/clients/3/add-label/', json=data, headers=headers)
7+
r = requests.post('https://secure.tutorcruncher.com/api/clients/3/add_label/', json=data, headers=headers)
88
pprint.pprint(r.json())

pages/clients/label-remove-from-a-client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
data = {
55
'label': 2,
66
}
7-
r = requests.post('https://secure.tutorcruncher.com/api/clients/3/remove-label/', json=data, headers=headers)
7+
r = requests.post('https://secure.tutorcruncher.com/api/clients/3/remove_label/', json=data, headers=headers)
88
pprint.pprint(r.json())

pages/contractors/contractors.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ sections:
5353
description: /contractors/label-add-to-a-contractor.md
5454
code: /contractors/label-add-to-a-contractor.py
5555
code_type: POST
56-
code_url: /api/contractors/<id>/add-label/
56+
code_url: /api/contractors/<id>/add_label/
5757
response: /contractors/label-add-to-a-contractor.json
5858
-
5959
title: Removing a Label from a Contractor
6060
id: label-remove-from-a-contractor
6161
description: /contractors/label-remove-from-a-contractor.md
6262
code: /contractors/label-remove-from-a-contractor.py
6363
code_type: POST
64-
code_url: /api/contractors/<id>/add-label/
64+
code_url: /api/contractors/<id>/add_label/
6565
response: /contractors/label-remove-from-a-contractor.json
6666

pages/contractors/label-add-to-a-contractor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
data = {
55
'label': 2,
66
}
7-
r = requests.post('https://secure.tutorcruncher.com/api/contractors/568433/add-label/', json=data, headers=headers)
7+
r = requests.post('https://secure.tutorcruncher.com/api/contractors/568433/add_label/', json=data, headers=headers)
88
pprint.pprint(r.json())

pages/contractors/label-remove-from-a-contractor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
data = {
55
'label': 2,
66
}
7-
r = requests.post('https://secure.tutorcruncher.com/api/contractors/568433/remove-label/', json=data, headers=headers)
7+
r = requests.post('https://secure.tutorcruncher.com/api/contractors/568433/remove_label/', json=data, headers=headers)
88
pprint.pprint(r.json())

pages/recipients/label-add-to-a-recipient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
data = {
55
'label': 2,
66
}
7-
r = requests.post('https://secure.tutorcruncher.com/api/recipients/4/add-label/', json=data, headers=headers)
7+
r = requests.post('https://secure.tutorcruncher.com/api/recipients/4/add_label/', json=data, headers=headers)
88
pprint.pprint(r.json())

0 commit comments

Comments
 (0)