diff --git a/config/scribe.php b/config/scribe.php index 34be1c10..746d5123 100644 --- a/config/scribe.php +++ b/config/scribe.php @@ -253,6 +253,7 @@ '/admin/team-users', '/admin/team-voucher-templates', '/admin/user-personal-access-tokens', + '/admin/users', '/admin/vouchers', '/admin/voucher-sets', '/admin/voucher-redemptions', diff --git a/resources/views/scribe/index.blade.php b/resources/views/scribe/index.blade.php index 3565a291..cc7b95b2 100644 --- a/resources/views/scribe/index.blade.php +++ b/resources/views/scribe/index.blade.php @@ -1101,6 +1101,71 @@ class="sl-flex sl-items-center sl-h-md sl-pr-4 sl-pl-12 sl-bg-canvas-100 hover:s
+ - @@ -3364,7 +3364,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw Example:curl --request GET \
- --get "https://vine.openfoodnetwork.org.au/api/v1/my-team-voucher-sets-created/est" \
+ --get "https://vine.openfoodnetwork.org.au/api/v1/my-team-voucher-sets-created/omnis" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
@@ -5804,7 +5804,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/my-team-voucher-sets-created/est"
+ "https://vine.openfoodnetwork.org.au/api/v1/my-team-voucher-sets-created/omnis"
);
const headers = {
@@ -5825,7 +5825,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/my-team-voucher-sets-created/est';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/my-team-voucher-sets-created/omnis';
$response = $client->get(
$url,
[
@@ -5848,7 +5848,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/my-team-voucher-sets-created/est'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/my-team-voucher-sets-created/omnis'
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
'Content-Type': 'application/json',
@@ -6548,7 +6548,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- nisi
+ placeat
@@ -6589,7 +6589,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
curl --request GET \
- --get "https://vine.openfoodnetwork.org.au/api/v1/my-team-voucher-sets-allocated/nisi" \
+ --get "https://vine.openfoodnetwork.org.au/api/v1/my-team-voucher-sets-allocated/placeat" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
@@ -6601,7 +6601,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/my-team-voucher-sets-allocated/nisi"
+ "https://vine.openfoodnetwork.org.au/api/v1/my-team-voucher-sets-allocated/placeat"
);
const headers = {
@@ -6622,7 +6622,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/my-team-voucher-sets-allocated/nisi';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/my-team-voucher-sets-allocated/placeat';
$response = $client->get(
$url,
[
@@ -6645,7 +6645,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/my-team-voucher-sets-allocated/nisi'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/my-team-voucher-sets-allocated/placeat'
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
'Content-Type': 'application/json',
@@ -7780,7 +7780,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- ut
+ vel
@@ -7807,7 +7807,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- antonio.satterfield@example.com
+ smclaughlin@example.com
@@ -7834,7 +7834,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- asperiores
+ vel
@@ -7880,9 +7880,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
--header "Accept: application/json" \
--header "X-Authorisation: JWT eyJ0eXAiOiJKV..." \
--data "{
- \"shop_name\": \"ut\",
- \"user_email\": \"antonio.satterfield@example.com\",
- \"user_name\": \"asperiores\"
+ \"shop_name\": \"vel\",
+ \"user_email\": \"smclaughlin@example.com\",
+ \"user_name\": \"vel\"
}"
@@ -7903,9 +7903,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
};
let body = {
- "shop_name": "ut",
- "user_email": "antonio.satterfield@example.com",
- "user_name": "asperiores"
+ "shop_name": "vel",
+ "user_email": "smclaughlin@example.com",
+ "user_name": "vel"
};
fetch(url, {
@@ -7931,9 +7931,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'X-Authorisation' => 'JWT eyJ0eXAiOiJKV...',
],
'json' => [
- 'shop_name' => 'ut',
- 'user_email' => 'antonio.satterfield@example.com',
- 'user_name' => 'asperiores',
+ 'shop_name' => 'vel',
+ 'user_email' => 'smclaughlin@example.com',
+ 'user_name' => 'vel',
],
]
);
@@ -7950,9 +7950,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
url = 'https://vine.openfoodnetwork.org.au/api/v1/shops'
payload = {
- "shop_name": "ut",
- "user_email": "antonio.satterfield@example.com",
- "user_name": "asperiores"
+ "shop_name": "vel",
+ "user_email": "smclaughlin@example.com",
+ "user_name": "vel"
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -8691,7 +8691,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 3
+ 19
@@ -8782,7 +8782,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
curl --request GET \
- --get "https://vine.openfoodnetwork.org.au/api/v1/system-statistics/3?cached=1&fields=id%2Cnum_users" \
+ --get "https://vine.openfoodnetwork.org.au/api/v1/system-statistics/19?cached=1&fields=id%2Cnum_users" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
@@ -8794,7 +8794,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/system-statistics/3"
+ "https://vine.openfoodnetwork.org.au/api/v1/system-statistics/19"
);
const params = {
@@ -8822,7 +8822,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/system-statistics/3';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/system-statistics/19';
$response = $client->get(
$url,
[
@@ -8849,7 +8849,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/system-statistics/3'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/system-statistics/19'
params = {
'cached': '1',
'fields': 'id,num_users',
@@ -9081,7 +9081,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- voluptate
+ similique
@@ -9106,7 +9106,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- milton.green@example.org
+ hirthe.hoyt@example.com
@@ -9131,7 +9131,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 20
+ 7
@@ -9177,9 +9177,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
--header "Accept: application/json" \
--header "X-Authorisation: JWT eyJ0eXAiOiJKV..." \
--data "{
- \"voucher_id\": \"voluptate\",
- \"beneficiary_email\": \"milton.green@example.org\",
- \"resend_beneficiary_distribution_id\": 20
+ \"voucher_id\": \"similique\",
+ \"beneficiary_email\": \"hirthe.hoyt@example.com\",
+ \"resend_beneficiary_distribution_id\": 7
}"
@@ -9200,9 +9200,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
};
let body = {
- "voucher_id": "voluptate",
- "beneficiary_email": "milton.green@example.org",
- "resend_beneficiary_distribution_id": 20
+ "voucher_id": "similique",
+ "beneficiary_email": "hirthe.hoyt@example.com",
+ "resend_beneficiary_distribution_id": 7
};
fetch(url, {
@@ -9228,9 +9228,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'X-Authorisation' => 'JWT eyJ0eXAiOiJKV...',
],
'json' => [
- 'voucher_id' => 'voluptate',
- 'beneficiary_email' => 'milton.green@example.org',
- 'resend_beneficiary_distribution_id' => 20,
+ 'voucher_id' => 'similique',
+ 'beneficiary_email' => 'hirthe.hoyt@example.com',
+ 'resend_beneficiary_distribution_id' => 7,
],
]
);
@@ -9247,9 +9247,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
url = 'https://vine.openfoodnetwork.org.au/api/v1/voucher-beneficiary-distributions'
payload = {
- "voucher_id": "voluptate",
- "beneficiary_email": "milton.green@example.org",
- "resend_beneficiary_distribution_id": 20
+ "voucher_id": "similique",
+ "beneficiary_email": "hirthe.hoyt@example.com",
+ "resend_beneficiary_distribution_id": 7
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -9469,7 +9469,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- dolorem
+ ea
@@ -9496,7 +9496,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- odio
+ maxime
@@ -9542,8 +9542,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
--header "Accept: application/json" \
--header "X-Authorisation: JWT eyJ0eXAiOiJKV..." \
--data "{
- \"type\": \"dolorem\",
- \"value\": \"odio\"
+ \"type\": \"ea\",
+ \"value\": \"maxime\"
}"
@@ -9564,8 +9564,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
};
let body = {
- "type": "dolorem",
- "value": "odio"
+ "type": "ea",
+ "value": "maxime"
};
fetch(url, {
@@ -9591,8 +9591,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'X-Authorisation' => 'JWT eyJ0eXAiOiJKV...',
],
'json' => [
- 'type' => 'dolorem',
- 'value' => 'odio',
+ 'type' => 'ea',
+ 'value' => 'maxime',
],
]
);
@@ -9609,8 +9609,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
url = 'https://vine.openfoodnetwork.org.au/api/v1/voucher-validation'
payload = {
- "type": "dolorem",
- "value": "odio"
+ "type": "ea",
+ "value": "maxime"
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -9815,7 +9815,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- minus
+ voluptas
curl --request GET \
- --get "https://vine.openfoodnetwork.org.au/api/v1/admin/system-statistics/perspiciatis?cached=1&fields=id%2Ccreated_at" \
+ --get "https://vine.openfoodnetwork.org.au/api/v1/admin/system-statistics/adipisci?cached=1&fields=id%2Ccreated_at" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
@@ -12491,7 +12491,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/system-statistics/perspiciatis"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/system-statistics/adipisci"
);
const params = {
@@ -12519,7 +12519,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/system-statistics/perspiciatis';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/system-statistics/adipisci';
$response = $client->get(
$url,
[
@@ -12546,7 +12546,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/system-statistics/perspiciatis'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/system-statistics/adipisci'
params = {
'cached': '1',
'fields': 'id,created_at',
@@ -13294,7 +13294,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- perferendis
+ quas
@@ -13321,7 +13321,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 2
+ 20
@@ -13367,8 +13367,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
--header "Accept: application/json" \
--header "X-Authorisation: JWT eyJ0eXAiOiJKV..." \
--data "{
- \"name\": \"perferendis\",
- \"country_id\": 2
+ \"name\": \"quas\",
+ \"country_id\": 20
}"
@@ -13389,8 +13389,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
};
let body = {
- "name": "perferendis",
- "country_id": 2
+ "name": "quas",
+ "country_id": 20
};
fetch(url, {
@@ -13416,8 +13416,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'X-Authorisation' => 'JWT eyJ0eXAiOiJKV...',
],
'json' => [
- 'name' => 'perferendis',
- 'country_id' => 2,
+ 'name' => 'quas',
+ 'country_id' => 20,
],
]
);
@@ -13434,8 +13434,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/teams'
payload = {
- "name": "perferendis",
- "country_id": 2
+ "name": "quas",
+ "country_id": 20
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -13595,7 +13595,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- voluptatem
+ et
curl --request GET \
- --get "https://vine.openfoodnetwork.org.au/api/v1/admin/teams/voluptatem?cached=1&fields=id%2Ccreated_at" \
+ --get "https://vine.openfoodnetwork.org.au/api/v1/admin/teams/et?cached=1&fields=id%2Ccreated_at" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
@@ -13698,7 +13698,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/teams/voluptatem"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/teams/et"
);
const params = {
@@ -13726,7 +13726,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/teams/voluptatem';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/teams/et';
$response = $client->get(
$url,
[
@@ -13753,7 +13753,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/teams/voluptatem'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/teams/et'
params = {
'cached': '1',
'fields': 'id,created_at',
@@ -13972,7 +13972,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- corrupti
+ ut
@@ -14004,7 +14004,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- dolorem
+ officiis
@@ -14029,7 +14029,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 15
+ 16
@@ -14069,14 +14069,14 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
curl --request PUT \
- "https://vine.openfoodnetwork.org.au/api/v1/admin/teams/corrupti" \
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/teams/ut" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "X-Authorisation: JWT eyJ0eXAiOiJKV..." \
--data "{
- \"name\": \"dolorem\",
- \"country_id\": 15
+ \"name\": \"officiis\",
+ \"country_id\": 16
}"
@@ -14086,7 +14086,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/teams/corrupti"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/teams/ut"
);
const headers = {
@@ -14097,8 +14097,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
};
let body = {
- "name": "dolorem",
- "country_id": 15
+ "name": "officiis",
+ "country_id": 16
};
fetch(url, {
@@ -14113,7 +14113,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/teams/corrupti';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/teams/ut';
$response = $client->put(
$url,
[
@@ -14124,8 +14124,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'X-Authorisation' => 'JWT eyJ0eXAiOiJKV...',
],
'json' => [
- 'name' => 'dolorem',
- 'country_id' => 15,
+ 'name' => 'officiis',
+ 'country_id' => 16,
],
]
);
@@ -14140,10 +14140,10 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/teams/corrupti'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/teams/ut'
payload = {
- "name": "dolorem",
- "country_id": 15
+ "name": "officiis",
+ "country_id": 16
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -14303,7 +14303,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- provident
+ consequatur
@@ -14344,7 +14344,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
curl --request DELETE \
- "https://vine.openfoodnetwork.org.au/api/v1/admin/teams/provident" \
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/teams/consequatur" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
@@ -14356,7 +14356,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/teams/provident"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/teams/consequatur"
);
const headers = {
@@ -14377,7 +14377,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/teams/provident';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/teams/consequatur';
$response = $client->delete(
$url,
[
@@ -14400,7 +14400,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/teams/provident'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/teams/consequatur'
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
'Content-Type': 'application/json',
@@ -15093,7 +15093,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 3
+ 13
@@ -15120,7 +15120,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 16
+ 17
@@ -15166,8 +15166,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
--header "Accept: application/json" \
--header "X-Authorisation: JWT eyJ0eXAiOiJKV..." \
--data "{
- \"team_id\": 3,
- \"merchant_team_id\": 16
+ \"team_id\": 13,
+ \"merchant_team_id\": 17
}"
@@ -15188,8 +15188,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
};
let body = {
- "team_id": 3,
- "merchant_team_id": 16
+ "team_id": 13,
+ "merchant_team_id": 17
};
fetch(url, {
@@ -15215,8 +15215,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'X-Authorisation' => 'JWT eyJ0eXAiOiJKV...',
],
'json' => [
- 'team_id' => 3,
- 'merchant_team_id' => 16,
+ 'team_id' => 13,
+ 'merchant_team_id' => 17,
],
]
);
@@ -15233,8 +15233,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-merchant-teams'
payload = {
- "team_id": 3,
- "merchant_team_id": 16
+ "team_id": 13,
+ "merchant_team_id": 17
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -15394,7 +15394,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- assumenda
+ impedit
@@ -15435,7 +15435,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
curl --request DELETE \
- "https://vine.openfoodnetwork.org.au/api/v1/admin/team-merchant-teams/assumenda" \
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/team-merchant-teams/impedit" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
@@ -15447,7 +15447,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/team-merchant-teams/assumenda"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/team-merchant-teams/impedit"
);
const headers = {
@@ -15468,7 +15468,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-merchant-teams/assumenda';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-merchant-teams/impedit';
$response = $client->delete(
$url,
[
@@ -15491,7 +15491,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-merchant-teams/assumenda'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-merchant-teams/impedit'
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
'Content-Type': 'application/json',
@@ -16184,7 +16184,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 2
+ 15
@@ -16211,7 +16211,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 3
+ 16
@@ -16257,8 +16257,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
--header "Accept: application/json" \
--header "X-Authorisation: JWT eyJ0eXAiOiJKV..." \
--data "{
- \"team_id\": 2,
- \"service_team_id\": 3
+ \"team_id\": 15,
+ \"service_team_id\": 16
}"
@@ -16279,8 +16279,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
};
let body = {
- "team_id": 2,
- "service_team_id": 3
+ "team_id": 15,
+ "service_team_id": 16
};
fetch(url, {
@@ -16306,8 +16306,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'X-Authorisation' => 'JWT eyJ0eXAiOiJKV...',
],
'json' => [
- 'team_id' => 2,
- 'service_team_id' => 3,
+ 'team_id' => 15,
+ 'service_team_id' => 16,
],
]
);
@@ -16324,8 +16324,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-service-teams'
payload = {
- "team_id": 2,
- "service_team_id": 3
+ "team_id": 15,
+ "service_team_id": 16
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -16490,7 +16490,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- aperiam
+ omnis
@@ -16531,7 +16531,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
curl --request PUT \
- "https://vine.openfoodnetwork.org.au/api/v1/admin/team-service-teams/aperiam" \
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/team-service-teams/omnis" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
@@ -16543,7 +16543,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/team-service-teams/aperiam"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/team-service-teams/omnis"
);
const headers = {
@@ -16564,7 +16564,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-service-teams/aperiam';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-service-teams/omnis';
$response = $client->put(
$url,
[
@@ -16587,7 +16587,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-service-teams/aperiam'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-service-teams/omnis'
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
'Content-Type': 'application/json',
@@ -16746,7 +16746,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- in
+ odit
@@ -16787,7 +16787,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
curl --request DELETE \
- "https://vine.openfoodnetwork.org.au/api/v1/admin/team-service-teams/in" \
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/team-service-teams/odit" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
@@ -16799,7 +16799,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/team-service-teams/in"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/team-service-teams/odit"
);
const headers = {
@@ -16820,7 +16820,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-service-teams/in';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-service-teams/odit';
$response = $client->delete(
$url,
[
@@ -16843,7 +16843,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-service-teams/in'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-service-teams/odit'
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
'Content-Type': 'application/json',
@@ -17536,7 +17536,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 3
+ 18
@@ -17563,7 +17563,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 8
+ 19
@@ -17609,8 +17609,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
--header "Accept: application/json" \
--header "X-Authorisation: JWT eyJ0eXAiOiJKV..." \
--data "{
- \"team_id\": 3,
- \"user_id\": 8
+ \"team_id\": 18,
+ \"user_id\": 19
}"
@@ -17631,8 +17631,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
};
let body = {
- "team_id": 3,
- "user_id": 8
+ "team_id": 18,
+ "user_id": 19
};
fetch(url, {
@@ -17658,8 +17658,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'X-Authorisation' => 'JWT eyJ0eXAiOiJKV...',
],
'json' => [
- 'team_id' => 3,
- 'user_id' => 8,
+ 'team_id' => 18,
+ 'user_id' => 19,
],
]
);
@@ -17676,8 +17676,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-users'
payload = {
- "team_id": 3,
- "user_id": 8
+ "team_id": 18,
+ "user_id": 19
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -17842,7 +17842,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- repellendus
+ laboriosam
@@ -17876,7 +17876,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- tstoltenberg@example.org
+ lavina.jones@example.net
@@ -17916,13 +17916,13 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
curl --request PUT \
- "https://vine.openfoodnetwork.org.au/api/v1/admin/team-users/repellendus" \
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/team-users/laboriosam" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "X-Authorisation: JWT eyJ0eXAiOiJKV..." \
--data "{
- \"send_invite_email\": \"tstoltenberg@example.org\"
+ \"send_invite_email\": \"lavina.jones@example.net\"
}"
@@ -17932,7 +17932,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/team-users/repellendus"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/team-users/laboriosam"
);
const headers = {
@@ -17943,7 +17943,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
};
let body = {
- "send_invite_email": "tstoltenberg@example.org"
+ "send_invite_email": "lavina.jones@example.net"
};
fetch(url, {
@@ -17958,7 +17958,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-users/repellendus';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-users/laboriosam';
$response = $client->put(
$url,
[
@@ -17969,7 +17969,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'X-Authorisation' => 'JWT eyJ0eXAiOiJKV...',
],
'json' => [
- 'send_invite_email' => 'tstoltenberg@example.org',
+ 'send_invite_email' => 'lavina.jones@example.net',
],
]
);
@@ -17984,9 +17984,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-users/repellendus'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-users/laboriosam'
payload = {
- "send_invite_email": "tstoltenberg@example.org"
+ "send_invite_email": "lavina.jones@example.net"
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -18146,7 +18146,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- a
+ fugiat
@@ -18187,7 +18187,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
curl --request DELETE \
- "https://vine.openfoodnetwork.org.au/api/v1/admin/team-users/a" \
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/team-users/fugiat" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
@@ -18199,7 +18199,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/team-users/a"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/team-users/fugiat"
);
const headers = {
@@ -18220,7 +18220,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-users/a';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-users/fugiat';
$response = $client->delete(
$url,
[
@@ -18243,7 +18243,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-users/a'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-users/fugiat'
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
'Content-Type': 'application/json',
@@ -18936,7 +18936,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 3
+ 20
@@ -18963,7 +18963,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- ullam
+ non
@@ -18990,7 +18990,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 10
+ 1
@@ -19017,7 +19017,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 17
+ 8
@@ -19044,7 +19044,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 6
+ 15
@@ -19071,7 +19071,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 15
+ 19
@@ -19098,7 +19098,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 4
+ 2
@@ -19125,7 +19125,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 15
+ 16
@@ -19152,7 +19152,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 1
+ 19
@@ -19179,7 +19179,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 4
+ 18
@@ -19206,7 +19206,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 5
+ 9
@@ -19233,7 +19233,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 6
+ 9
@@ -19260,7 +19260,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 19
+ 5
@@ -19287,7 +19287,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 11
+ 18
@@ -19314,7 +19314,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- provident
+ sint
@@ -19360,21 +19360,21 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
--header "Accept: application/json" \
--header "X-Authorisation: JWT eyJ0eXAiOiJKV..." \
--data "{
- \"team_id\": 3,
- \"voucher_template_path\": \"ullam\",
- \"voucher_qr_size_px\": 10,
- \"voucher_qr_x\": 17,
- \"voucher_qr_y\": 6,
- \"voucher_code_size_px\": 15,
- \"voucher_code_x\": 4,
- \"voucher_code_y\": 15,
- \"voucher_expiry_size_px\": 1,
- \"voucher_expiry_x\": 4,
- \"voucher_expiry_y\": 5,
- \"voucher_value_size_px\": 6,
- \"voucher_value_x\": 19,
- \"voucher_value_y\": 11,
- \"overlay_font_path\": \"provident\"
+ \"team_id\": 20,
+ \"voucher_template_path\": \"non\",
+ \"voucher_qr_size_px\": 1,
+ \"voucher_qr_x\": 8,
+ \"voucher_qr_y\": 15,
+ \"voucher_code_size_px\": 19,
+ \"voucher_code_x\": 2,
+ \"voucher_code_y\": 16,
+ \"voucher_expiry_size_px\": 19,
+ \"voucher_expiry_x\": 18,
+ \"voucher_expiry_y\": 9,
+ \"voucher_value_size_px\": 9,
+ \"voucher_value_x\": 5,
+ \"voucher_value_y\": 18,
+ \"overlay_font_path\": \"sint\"
}"
@@ -19395,21 +19395,21 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
};
let body = {
- "team_id": 3,
- "voucher_template_path": "ullam",
- "voucher_qr_size_px": 10,
- "voucher_qr_x": 17,
- "voucher_qr_y": 6,
- "voucher_code_size_px": 15,
- "voucher_code_x": 4,
- "voucher_code_y": 15,
- "voucher_expiry_size_px": 1,
- "voucher_expiry_x": 4,
- "voucher_expiry_y": 5,
- "voucher_value_size_px": 6,
- "voucher_value_x": 19,
- "voucher_value_y": 11,
- "overlay_font_path": "provident"
+ "team_id": 20,
+ "voucher_template_path": "non",
+ "voucher_qr_size_px": 1,
+ "voucher_qr_x": 8,
+ "voucher_qr_y": 15,
+ "voucher_code_size_px": 19,
+ "voucher_code_x": 2,
+ "voucher_code_y": 16,
+ "voucher_expiry_size_px": 19,
+ "voucher_expiry_x": 18,
+ "voucher_expiry_y": 9,
+ "voucher_value_size_px": 9,
+ "voucher_value_x": 5,
+ "voucher_value_y": 18,
+ "overlay_font_path": "sint"
};
fetch(url, {
@@ -19435,21 +19435,21 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'X-Authorisation' => 'JWT eyJ0eXAiOiJKV...',
],
'json' => [
- 'team_id' => 3,
- 'voucher_template_path' => 'ullam',
- 'voucher_qr_size_px' => 10,
- 'voucher_qr_x' => 17,
- 'voucher_qr_y' => 6,
- 'voucher_code_size_px' => 15,
- 'voucher_code_x' => 4,
- 'voucher_code_y' => 15,
- 'voucher_expiry_size_px' => 1,
- 'voucher_expiry_x' => 4,
- 'voucher_expiry_y' => 5,
- 'voucher_value_size_px' => 6,
- 'voucher_value_x' => 19,
- 'voucher_value_y' => 11,
- 'overlay_font_path' => 'provident',
+ 'team_id' => 20,
+ 'voucher_template_path' => 'non',
+ 'voucher_qr_size_px' => 1,
+ 'voucher_qr_x' => 8,
+ 'voucher_qr_y' => 15,
+ 'voucher_code_size_px' => 19,
+ 'voucher_code_x' => 2,
+ 'voucher_code_y' => 16,
+ 'voucher_expiry_size_px' => 19,
+ 'voucher_expiry_x' => 18,
+ 'voucher_expiry_y' => 9,
+ 'voucher_value_size_px' => 9,
+ 'voucher_value_x' => 5,
+ 'voucher_value_y' => 18,
+ 'overlay_font_path' => 'sint',
],
]
);
@@ -19466,21 +19466,21 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates'
payload = {
- "team_id": 3,
- "voucher_template_path": "ullam",
- "voucher_qr_size_px": 10,
- "voucher_qr_x": 17,
- "voucher_qr_y": 6,
- "voucher_code_size_px": 15,
- "voucher_code_x": 4,
- "voucher_code_y": 15,
- "voucher_expiry_size_px": 1,
- "voucher_expiry_x": 4,
- "voucher_expiry_y": 5,
- "voucher_value_size_px": 6,
- "voucher_value_x": 19,
- "voucher_value_y": 11,
- "overlay_font_path": "provident"
+ "team_id": 20,
+ "voucher_template_path": "non",
+ "voucher_qr_size_px": 1,
+ "voucher_qr_x": 8,
+ "voucher_qr_y": 15,
+ "voucher_code_size_px": 19,
+ "voucher_code_x": 2,
+ "voucher_code_y": 16,
+ "voucher_expiry_size_px": 19,
+ "voucher_expiry_x": 18,
+ "voucher_expiry_y": 9,
+ "voucher_value_size_px": 9,
+ "voucher_value_x": 5,
+ "voucher_value_y": 18,
+ "overlay_font_path": "sint"
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -19640,7 +19640,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- quis
+ dignissimos
@@ -19731,7 +19731,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
curl --request GET \
- --get "https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/quis?cached=1&fields=id%2Ccreated_at" \
+ --get "https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/dignissimos?cached=1&fields=id%2Ccreated_at" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
@@ -19743,7 +19743,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/quis"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/dignissimos"
);
const params = {
@@ -19771,7 +19771,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/quis';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/dignissimos';
$response = $client->get(
$url,
[
@@ -19798,7 +19798,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/quis'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/dignissimos'
params = {
'cached': '1',
'fields': 'id,created_at',
@@ -20017,7 +20017,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- ipsa
+ consequuntur
@@ -20049,7 +20049,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- quisquam
+ consequuntur
@@ -20074,7 +20074,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 14
+ 9
@@ -20099,7 +20099,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 14
+ 20
@@ -20124,7 +20124,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 10
+ 4
@@ -20149,7 +20149,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 15
+ 2
@@ -20174,7 +20174,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 14
+ 9
@@ -20199,7 +20199,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 12
+ 16
@@ -20224,7 +20224,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- dolore
+ totam
curl --request PUT \
- "https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/ipsa" \
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/consequuntur" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "X-Authorisation: JWT eyJ0eXAiOiJKV..." \
--data "{
- \"voucher_template_path\": \"quisquam\",
- \"voucher_qr_size_px\": 14,
- \"voucher_qr_x\": 14,
- \"voucher_qr_y\": 10,
- \"voucher_code_size_px\": 15,
- \"voucher_code_x\": 14,
- \"voucher_code_y\": 12,
- \"voucher_code_prefix\": \"dolore\",
- \"voucher_expiry_size_px\": 16,
- \"voucher_expiry_x\": 7,
- \"voucher_expiry_y\": 18,
- \"voucher_expiry_prefix\": \"totam\",
- \"voucher_value_size_px\": 19,
- \"voucher_value_x\": 9,
- \"voucher_value_y\": 13,
- \"voucher_value_prefix\": \"aut\",
- \"overlay_font_path\": \"sequi\",
+ \"voucher_template_path\": \"consequuntur\",
+ \"voucher_qr_size_px\": 9,
+ \"voucher_qr_x\": 20,
+ \"voucher_qr_y\": 4,
+ \"voucher_code_size_px\": 2,
+ \"voucher_code_x\": 9,
+ \"voucher_code_y\": 16,
+ \"voucher_code_prefix\": \"totam\",
+ \"voucher_expiry_size_px\": 19,
+ \"voucher_expiry_x\": 10,
+ \"voucher_expiry_y\": 7,
+ \"voucher_expiry_prefix\": \"est\",
+ \"voucher_value_size_px\": 14,
+ \"voucher_value_x\": 7,
+ \"voucher_value_y\": 20,
+ \"voucher_value_prefix\": \"et\",
+ \"overlay_font_path\": \"vel\",
\"archive\": false
}"
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/ipsa"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/consequuntur"
);
const headers = {
@@ -20550,23 +20550,23 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
};
let body = {
- "voucher_template_path": "quisquam",
- "voucher_qr_size_px": 14,
- "voucher_qr_x": 14,
- "voucher_qr_y": 10,
- "voucher_code_size_px": 15,
- "voucher_code_x": 14,
- "voucher_code_y": 12,
- "voucher_code_prefix": "dolore",
- "voucher_expiry_size_px": 16,
- "voucher_expiry_x": 7,
- "voucher_expiry_y": 18,
- "voucher_expiry_prefix": "totam",
- "voucher_value_size_px": 19,
- "voucher_value_x": 9,
- "voucher_value_y": 13,
- "voucher_value_prefix": "aut",
- "overlay_font_path": "sequi",
+ "voucher_template_path": "consequuntur",
+ "voucher_qr_size_px": 9,
+ "voucher_qr_x": 20,
+ "voucher_qr_y": 4,
+ "voucher_code_size_px": 2,
+ "voucher_code_x": 9,
+ "voucher_code_y": 16,
+ "voucher_code_prefix": "totam",
+ "voucher_expiry_size_px": 19,
+ "voucher_expiry_x": 10,
+ "voucher_expiry_y": 7,
+ "voucher_expiry_prefix": "est",
+ "voucher_value_size_px": 14,
+ "voucher_value_x": 7,
+ "voucher_value_y": 20,
+ "voucher_value_prefix": "et",
+ "overlay_font_path": "vel",
"archive": false
};
@@ -20582,7 +20582,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/ipsa';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/consequuntur';
$response = $client->put(
$url,
[
@@ -20593,23 +20593,23 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'X-Authorisation' => 'JWT eyJ0eXAiOiJKV...',
],
'json' => [
- 'voucher_template_path' => 'quisquam',
- 'voucher_qr_size_px' => 14,
- 'voucher_qr_x' => 14,
- 'voucher_qr_y' => 10,
- 'voucher_code_size_px' => 15,
- 'voucher_code_x' => 14,
- 'voucher_code_y' => 12,
- 'voucher_code_prefix' => 'dolore',
- 'voucher_expiry_size_px' => 16,
- 'voucher_expiry_x' => 7,
- 'voucher_expiry_y' => 18,
- 'voucher_expiry_prefix' => 'totam',
- 'voucher_value_size_px' => 19,
- 'voucher_value_x' => 9,
- 'voucher_value_y' => 13,
- 'voucher_value_prefix' => 'aut',
- 'overlay_font_path' => 'sequi',
+ 'voucher_template_path' => 'consequuntur',
+ 'voucher_qr_size_px' => 9,
+ 'voucher_qr_x' => 20,
+ 'voucher_qr_y' => 4,
+ 'voucher_code_size_px' => 2,
+ 'voucher_code_x' => 9,
+ 'voucher_code_y' => 16,
+ 'voucher_code_prefix' => 'totam',
+ 'voucher_expiry_size_px' => 19,
+ 'voucher_expiry_x' => 10,
+ 'voucher_expiry_y' => 7,
+ 'voucher_expiry_prefix' => 'est',
+ 'voucher_value_size_px' => 14,
+ 'voucher_value_x' => 7,
+ 'voucher_value_y' => 20,
+ 'voucher_value_prefix' => 'et',
+ 'overlay_font_path' => 'vel',
'archive' => false,
],
]
@@ -20625,25 +20625,25 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/ipsa'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/consequuntur'
payload = {
- "voucher_template_path": "quisquam",
- "voucher_qr_size_px": 14,
- "voucher_qr_x": 14,
- "voucher_qr_y": 10,
- "voucher_code_size_px": 15,
- "voucher_code_x": 14,
- "voucher_code_y": 12,
- "voucher_code_prefix": "dolore",
- "voucher_expiry_size_px": 16,
- "voucher_expiry_x": 7,
- "voucher_expiry_y": 18,
- "voucher_expiry_prefix": "totam",
- "voucher_value_size_px": 19,
- "voucher_value_x": 9,
- "voucher_value_y": 13,
- "voucher_value_prefix": "aut",
- "overlay_font_path": "sequi",
+ "voucher_template_path": "consequuntur",
+ "voucher_qr_size_px": 9,
+ "voucher_qr_x": 20,
+ "voucher_qr_y": 4,
+ "voucher_code_size_px": 2,
+ "voucher_code_x": 9,
+ "voucher_code_y": 16,
+ "voucher_code_prefix": "totam",
+ "voucher_expiry_size_px": 19,
+ "voucher_expiry_x": 10,
+ "voucher_expiry_y": 7,
+ "voucher_expiry_prefix": "est",
+ "voucher_value_size_px": 14,
+ "voucher_value_x": 7,
+ "voucher_value_y": 20,
+ "voucher_value_prefix": "et",
+ "overlay_font_path": "vel",
"archive": false
}
headers = {
@@ -20804,7 +20804,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- numquam
+ iste
@@ -20845,7 +20845,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
curl --request DELETE \
- "https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/numquam" \
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/iste" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
@@ -20857,7 +20857,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/numquam"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/iste"
);
const headers = {
@@ -20878,7 +20878,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/numquam';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/iste';
$response = $client->delete(
$url,
[
@@ -20901,7 +20901,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/numquam'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/team-voucher-templates/iste'
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
'Content-Type': 'application/json',
@@ -21594,7 +21594,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- 9
+ 19
@@ -21621,7 +21621,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- minus
+ ducimus
@@ -21648,7 +21648,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- ["molestiae"]
+ ["doloremque"]
@@ -21694,10 +21694,10 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
--header "Accept: application/json" \
--header "X-Authorisation: JWT eyJ0eXAiOiJKV..." \
--data "{
- \"user_id\": 9,
- \"name\": \"minus\",
+ \"user_id\": 19,
+ \"name\": \"ducimus\",
\"token_abilities\": [
- \"molestiae\"
+ \"doloremque\"
]
}"
@@ -21719,10 +21719,10 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
};
let body = {
- "user_id": 9,
- "name": "minus",
+ "user_id": 19,
+ "name": "ducimus",
"token_abilities": [
- "molestiae"
+ "doloremque"
]
};
@@ -21749,10 +21749,10 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'X-Authorisation' => 'JWT eyJ0eXAiOiJKV...',
],
'json' => [
- 'user_id' => 9,
- 'name' => 'minus',
+ 'user_id' => 19,
+ 'name' => 'ducimus',
'token_abilities' => [
- 'molestiae',
+ 'doloremque',
],
],
]
@@ -21770,10 +21770,10 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/user-personal-access-tokens'
payload = {
- "user_id": 9,
- "name": "minus",
+ "user_id": 19,
+ "name": "ducimus",
"token_abilities": [
- "molestiae"
+ "doloremque"
]
}
headers = {
@@ -21931,7 +21931,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- dolorem
+ possimus
@@ -22022,7 +22022,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
curl --request GET \
- --get "https://vine.openfoodnetwork.org.au/api/v1/admin/user-personal-access-tokens/dolorem?cached=1&fields=id%2Ccreated_at" \
+ --get "https://vine.openfoodnetwork.org.au/api/v1/admin/user-personal-access-tokens/possimus?cached=1&fields=id%2Ccreated_at" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
@@ -22034,7 +22034,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/user-personal-access-tokens/dolorem"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/user-personal-access-tokens/possimus"
);
const params = {
@@ -22062,7 +22062,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/user-personal-access-tokens/dolorem';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/user-personal-access-tokens/possimus';
$response = $client->get(
$url,
[
@@ -22089,7 +22089,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/user-personal-access-tokens/dolorem'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/user-personal-access-tokens/possimus'
params = {
'cached': '1',
'fields': 'id,created_at',
@@ -22300,7 +22300,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- nesciunt
+ quis
@@ -22341,7 +22341,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
curl --request DELETE \
- "https://vine.openfoodnetwork.org.au/api/v1/admin/user-personal-access-tokens/nesciunt" \
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/user-personal-access-tokens/quis" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
@@ -22353,7 +22353,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/user-personal-access-tokens/nesciunt"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/user-personal-access-tokens/quis"
);
const headers = {
@@ -22374,7 +22374,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/user-personal-access-tokens/nesciunt';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/user-personal-access-tokens/quis';
$response = $client->delete(
$url,
[
@@ -22397,7 +22397,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/user-personal-access-tokens/nesciunt'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/user-personal-access-tokens/quis'
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
'Content-Type': 'application/json',
@@ -22415,37 +22415,37 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
-
- /admin/vouchers
+ /admin/users
- Admin endpoint for unrestricted management of vouchers
+ API for managing users
- GET /
+ id="admin-endpoints-POSTapi-v1-admin-users">
+ POST /
-
- GET
+ POST
https://vine.openfoodnetwork.org.au
- /api/v1/admin/vouchers
+ /api/v1/admin/users
https://vine.openfoodnetw
- Retrieve voucher sets.
+ Create a user.
@@ -22543,190 +22543,95 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
-
- Query Parameters
+
+
+ Body Parameters
-
+
@@ -22755,12 +22660,18 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
style="">
- curl --request GET \
- --get "https://vine.openfoodnetwork.org.au/api/v1/admin/vouchers?cached=1&page=1&limit=50&fields=id%2Ccreated_at&orderBy=orderBy%3Did%2Cdesc&orderBy%5B%5D=orderBy%5B%5D%3Did%2Cdesc%26orderBy%5B%5D%3Dcreated_at%2Casc&where=where%3Did%2Clike%2C%2A550e%2A&where%5B%5D=where%5B%5D%3Did%2Clike%2C%2A550e%2A%26where%5B%5D%3Dcreated_at%2C%3E%3D%2C2024-01-01" \
+ curl --request POST \
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/users" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
- --header "X-Authorisation: JWT eyJ0eXAiOiJKV..."
+ --header "X-Authorisation: JWT eyJ0eXAiOiJKV..." \
+ --data "{
+ \"name\": \"modi\",
+ \"email\": \"bahringer.arturo@example.net\",
+ \"current_team_id\": 19
+}"
+
https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/vouchers"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/users"
);
-const params = {
- "cached": "1",
- "page": "1",
- "limit": "50",
- "fields": "id,created_at",
- "orderBy": "orderBy=id,desc",
- "orderBy[]": "orderBy[]=id,desc&orderBy[]=created_at,asc",
- "where": "where=id,like,*550e*",
- "where[]": "where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01",
-};
-Object.keys(params)
- .forEach(key => url.searchParams.append(key, params[key]));
-
const headers = {
"Authorization": "Bearer {YOUR_API_TOKEN}",
"Content-Type": "application/json",
@@ -22791,9 +22689,16 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
"X-Authorisation": "JWT eyJ0eXAiOiJKV...",
};
+let body = {
+ "name": "modi",
+ "email": "bahringer.arturo@example.net",
+ "current_team_id": 19
+};
+
fetch(url, {
- method: "GET",
+ method: "POST",
headers,
+ body: JSON.stringify(body),
}).then(response => response.json());
@@ -22802,8 +22707,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/vouchers';
-$response = $client->get(
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users';
+$response = $client->post(
$url,
[
'headers' => [
@@ -22812,15 +22717,10 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'Accept' => 'application/json',
'X-Authorisation' => 'JWT eyJ0eXAiOiJKV...',
],
- 'query' => [
- 'cached' => '1',
- 'page' => '1',
- 'limit' => '50',
- 'fields' => 'id,created_at',
- 'orderBy' => 'orderBy=id,desc',
- 'orderBy[]' => 'orderBy[]=id,desc&orderBy[]=created_at,asc',
- 'where' => 'where=id,like,*550e*',
- 'where[]' => 'where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01',
+ 'json' => [
+ 'name' => 'modi',
+ 'email' => 'bahringer.arturo@example.net',
+ 'current_team_id' => 19,
],
]
);
@@ -22835,16 +22735,11 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/vouchers'
-params = {
- 'cached': '1',
- 'page': '1',
- 'limit': '50',
- 'fields': 'id,created_at',
- 'orderBy': 'orderBy=id,desc',
- 'orderBy[]': 'orderBy[]=id,desc&orderBy[]=created_at,asc',
- 'where': 'where=id,like,*550e*',
- 'where[]': 'where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01',
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users'
+payload = {
+ "name": "modi",
+ "email": "bahringer.arturo@example.net",
+ "current_team_id": 19
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -22853,49 +22748,12 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'X-Authorisation': 'JWT eyJ0eXAiOiJKV...'
}
-response = requests.request('GET', url, headers=headers, params=params)
+response = requests.request('POST', url, headers=headers, json=payload)
response.json()
-
-
-
-
-
-
-
-
@@ -22905,14 +22763,14 @@ class="language-json sl-overflow-x-auto sl-overflow-y-auto">
- GET /{id}
+ id="admin-endpoints-GETapi-v1-admin-users">
+ GET /
-
https://vine.openfoodnetwork.org.au
- /api/v1/admin/vouchers/{id}
+ /api/v1/admin/users
https://vine.openfoodnetw
- Retrieve a single voucher set.
+ Retrieve users.
@@ -23019,53 +22877,45 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
-
- URL Parameters
+
-
-
+
+ Query Parameters
+
+
+
- id
- uuid
+ cached
+ boolean
-
- required
- Voucher Set ID.
+ Request the response to be cached. Default: true
.
Example:
- 550e8400-e29b-41d4-a716-446655440000
+ 1
-
-
-
-
-
- Query Parameters
-
-
- cached
- boolean
+ page
+ integer
- Request the response to be cached. Default: true
.
+ The pagination page number.
Example:
@@ -23076,6 +22926,28 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
+
+
+
+
+
+
+ limit
+ integer
+
+
+
+ The number of entries returned per pagination page.
+
+
+ Example:
+
+
+ 50
+
+
+
+
@@ -23098,6 +22970,94 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
+
+
+
+
+
+
+ orderBy
+ comma-separated
+
+
+
+ Order the data by a given field. Comma-separated string.
+
+
+ Example:
+
+
+ orderBy=id,desc
+
+
+
+
+
+
+
+
+
+
+ orderBy[]
+ comma-separated
+
+
+
+ Compound orderBy
. Order the data by a given field. Comma-separated string. Can not be used in conjunction as standard orderBy
.
+
+
+ Example:
+
+
+ orderBy[]=id,desc&orderBy[]=created_at,asc
+
+
+
+
+
+
+
+
+
+
+ where
+ comma-separated
+
+
+
+ Filter the request on a single field. Key-Value or Key-Operator-Value comma-separated string.
+
+
+ Example:
+
+
+ where=id,like,*550e*
+
+
+
+
+
+
+
+
+
+
+ where[]
+ comma-separated
+
+
+
+ Compound where
. Use when you need to filter on multiple where
's. Note only AND is possible; ORWHERE is not available.
+
+
+ Example:
+
+
+ where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01
+
+
+
+
@@ -23132,7 +23092,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
curl --request GET \
- --get "https://vine.openfoodnetwork.org.au/api/v1/admin/vouchers/550e8400-e29b-41d4-a716-446655440000?cached=1&fields=id%2Ccreated_at" \
+ --get "https://vine.openfoodnetwork.org.au/api/v1/admin/users?cached=1&page=1&limit=50&fields=id%2Ccreated_at&orderBy=orderBy%3Did%2Cdesc&orderBy%5B%5D=orderBy%5B%5D%3Did%2Cdesc%26orderBy%5B%5D%3Dcreated_at%2Casc&where=where%3Did%2Clike%2C%2A550e%2A&where%5B%5D=where%5B%5D%3Did%2Clike%2C%2A550e%2A%26where%5B%5D%3Dcreated_at%2C%3E%3D%2C2024-01-01" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
@@ -23144,12 +23104,18 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/vouchers/550e8400-e29b-41d4-a716-446655440000"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/users"
);
const params = {
"cached": "1",
+ "page": "1",
+ "limit": "50",
"fields": "id,created_at",
+ "orderBy": "orderBy=id,desc",
+ "orderBy[]": "orderBy[]=id,desc&orderBy[]=created_at,asc",
+ "where": "where=id,like,*550e*",
+ "where[]": "where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
@@ -23172,7 +23138,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/vouchers/550e8400-e29b-41d4-a716-446655440000';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users';
$response = $client->get(
$url,
[
@@ -23184,7 +23150,13 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
],
'query' => [
'cached' => '1',
+ 'page' => '1',
+ 'limit' => '50',
'fields' => 'id,created_at',
+ 'orderBy' => 'orderBy=id,desc',
+ 'orderBy[]' => 'orderBy[]=id,desc&orderBy[]=created_at,asc',
+ 'where' => 'where=id,like,*550e*',
+ 'where[]' => 'where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01',
],
]
);
@@ -23199,10 +23171,16 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/vouchers/550e8400-e29b-41d4-a716-446655440000'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users'
params = {
'cached': '1',
+ 'page': '1',
+ 'limit': '50',
'fields': 'id,created_at',
+ 'orderBy': 'orderBy=id,desc',
+ 'orderBy[]': 'orderBy[]=id,desc&orderBy[]=created_at,asc',
+ 'where': 'where=id,like,*550e*',
+ 'where[]': 'where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01',
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -23225,9 +23203,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example response:
@@ -23245,7 +23223,7 @@ class="svg-inline--fa fa-copy fa-fw fa-sm sl-icon" role="img"
-
@@ -23256,13 +23234,44 @@ class="language-json sl-overflow-x-auto sl-overflow-y-auto">{
"limit": 50,
"offset": 0,
"message": "",
- "cached": true,
- "cached_at": "2024-08-13 08:58:19",
+ "cached": false,
"availableRelations": []
},
"data": {
- "id": 1234,
- "created_at": "2024-01-01 00:00:00"
+ "current_page": 1,
+ "data": [
+ {
+ "id": "550e8400-e29b-41d4-a716-446655440000",
+ "created_at": "2024-01-01 00:00:00"
+ }
+ ],
+ "first_page_url": "https://open-food-network-vouchers.test/api/v1/admin/system-statistics?page=1",
+ "from": null,
+ "last_page": 1,
+ "last_page_url": "https://open-food-network-vouchers.test/api/v1/admin/system-statistics?page=1",
+ "links": [
+ {
+ "url": null,
+ "label": "« Previous",
+ "active": false
+ },
+ {
+ "url": "https://open-food-network-vouchers.test/api/v1/admin/system-statistics?page=1",
+ "label": "1",
+ "active": true
+ },
+ {
+ "url": null,
+ "label": "Next »",
+ "active": false
+ }
+ ],
+ "next_page_url": null,
+ "path": "https://open-food-network-vouchers.test/api/v1/admin/system-statistics",
+ "per_page": 1,
+ "prev_page_url": null,
+ "to": null,
+ "total": 0
}
}
@@ -23272,37 +23281,30 @@ class="language-json sl-overflow-x-auto sl-overflow-y-auto">{
-
- /admin/voucher-sets
-
- Admin endpoint for unrestricted management of voucher sets
-
-
+
- POST /
+ id="admin-endpoints-GETapi-v1-admin-users--id-">
+ GET /{id}
-
- POST
+ GET
https://vine.openfoodnetwork.org.au
- /api/v1/admin/voucher-sets
+ /api/v1/admin/users/{id}
https://vine.openfoodnetw
- Create a new voucher set.
+ Retrieve a single user by ID.
@@ -23398,255 +23400,90 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
-
-
-
- Body Parameters
+ URL Parameters
-
-
-
@@ -23675,28 +23512,12 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
style="">
- curl --request POST \
- "https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-sets" \
+ curl --request GET \
+ --get "https://vine.openfoodnetwork.org.au/api/v1/admin/users/quo?cached=1&fields=id%2Ccreated_at" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
- --header "X-Authorisation: JWT eyJ0eXAiOiJKV..." \
- --data "{
- \"is_test\": true,
- \"allocated_to_service_team_id\": 7,
- \"merchant_team_ids\": [
- \"autem\"
- ],
- \"funded_by_team_id\": 8,
- \"voucher_template_id\": 10,
- \"total_set_value\": 5,
- \"denominations\": [
- \"distinctio\"
- ],
- \"expires_at\": \"dolores\",
- \"voucher_set_type\": \"qui\"
-}"
-
+ --header "X-Authorisation: JWT eyJ0eXAiOiJKV..."
https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-sets"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/users/quo"
);
+const params = {
+ "cached": "1",
+ "fields": "id,created_at",
+};
+Object.keys(params)
+ .forEach(key => url.searchParams.append(key, params[key]));
+
const headers = {
"Authorization": "Bearer {YOUR_API_TOKEN}",
"Content-Type": "application/json",
@@ -23714,26 +23542,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
"X-Authorisation": "JWT eyJ0eXAiOiJKV...",
};
-let body = {
- "is_test": true,
- "allocated_to_service_team_id": 7,
- "merchant_team_ids": [
- "autem"
- ],
- "funded_by_team_id": 8,
- "voucher_template_id": 10,
- "total_set_value": 5,
- "denominations": [
- "distinctio"
- ],
- "expires_at": "dolores",
- "voucher_set_type": "qui"
-};
-
fetch(url, {
- method: "POST",
+ method: "GET",
headers,
- body: JSON.stringify(body),
}).then(response => response.json());
@@ -23742,8 +23553,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-sets';
-$response = $client->post(
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users/quo';
+$response = $client->get(
$url,
[
'headers' => [
@@ -23752,20 +23563,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'Accept' => 'application/json',
'X-Authorisation' => 'JWT eyJ0eXAiOiJKV...',
],
- 'json' => [
- 'is_test' => true,
- 'allocated_to_service_team_id' => 7,
- 'merchant_team_ids' => [
- 'autem',
- ],
- 'funded_by_team_id' => 8,
- 'voucher_template_id' => 10,
- 'total_set_value' => 5,
- 'denominations' => [
- 'distinctio',
- ],
- 'expires_at' => 'dolores',
- 'voucher_set_type' => 'qui',
+ 'query' => [
+ 'cached' => '1',
+ 'fields' => 'id,created_at',
],
]
);
@@ -23780,21 +23580,10 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-sets'
-payload = {
- "is_test": true,
- "allocated_to_service_team_id": 7,
- "merchant_team_ids": [
- "autem"
- ],
- "funded_by_team_id": 8,
- "voucher_template_id": 10,
- "total_set_value": 5,
- "denominations": [
- "distinctio"
- ],
- "expires_at": "dolores",
- "voucher_set_type": "qui"
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users/quo'
+params = {
+ 'cached': '1',
+ 'fields': 'id,created_at',
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -23803,7 +23592,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'X-Authorisation': 'JWT eyJ0eXAiOiJKV...'
}
-response = requests.request('POST', url, headers=headers, json=payload)
+response = requests.request('GET', url, headers=headers, params=params)
response.json()
@@ -23817,9 +23606,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example response:
@@ -23837,12 +23626,26 @@ class="svg-inline--fa fa-copy fa-fw fa-sm sl-icon" role="img"
-
+ class="language-json sl-overflow-x-auto sl-overflow-y-auto">{
+ "meta": {
+ "responseCode": 200,
+ "limit": 50,
+ "offset": 0,
+ "message": "",
+ "cached": true,
+ "cached_at": "2024-08-13 08:58:19",
+ "availableRelations": []
+ },
+ "data": {
+ "id": 1234,
+ "created_at": "2024-01-01 00:00:00"
+ }
+}
@@ -23855,306 +23658,185 @@ class="language-json sl-overflow-x-auto sl-overflow-y-auto">
- GET /
+ id="admin-endpoints-PUTapi-v1-admin-users--id-">
+ PUT /{id}
-
-
-
-
-
-
- GET
-
-
- https://vine.openfoodnetwork.org.au
- /api/v1/admin/voucher-sets
-
-
- requires authentication
-
-
-
-
- Retrieve vouchers.
-
-
-
-
-
-
-
- Headers
-
-
-
-
-
-
-
- Authorization
-
-
-
- Example:
-
-
- Bearer {YOUR_API_TOKEN}
-
-
-
-
-
-
-
-
-
-
- Content-Type
-
-
-
- Example:
-
-
- application/json
-
-
-
-
-
-
-
-
-
-
- Accept
-
-
-
- Example:
-
-
- application/json
-
-
-
-
-
-
-
-
-
-
- X-Authorisation
-
-
-
- Example:
-
-
- JWT eyJ0eXAiOiJKV...
-
-
-
-
-
-
-
-
-
+
+
-
- Query Parameters
+
+
+
+ PUT
+
+
+ https://vine.openfoodnetwork.org.au
+ /api/v1/admin/users/{id}
+
-
-
-
-
-
-
- cached
- boolean
-
+ requires authentication
+
-
- Request the response to be cached. Default: true
.
-
- Example:
-
-
- 1
-
-
-
-
-
-
+
+ Update a user.
+
+
+
+
+
+
+
+ Headers
+
+
+
- page
- integer
+ Authorization
-
- The pagination page number.
-
Example:
- 1
+ Bearer {YOUR_API_TOKEN}
-
+
- limit
- integer
+ Content-Type
-
- The number of entries returned per pagination page.
-
Example:
- 50
+ application/json
-
+
- fields
- string
+ Accept
-
- Comma-separated list of database fields to return within the object.
-
Example:
- id,created_at
+ application/json
-
+
- orderBy
- comma-separated
+ X-Authorisation
-
- Order the data by a given field. Comma-separated string.
-
Example:
- orderBy=id,desc
+ JWT eyJ0eXAiOiJKV...
-
+
+
+
+
+ URL Parameters
+
+
+
- orderBy[]
- comma-separated
+ id
+ string
+
+ required
- Compound orderBy
. Order the data by a given field. Comma-separated string. Can not be used in conjunction as standard orderBy
.
+ The ID of the user.
Example:
- orderBy[]=id,desc&orderBy[]=created_at,asc
+ voluptatem
-
+
+
+
+
+
+
+ Body Parameters
+
+
+
+
-
@@ -24183,12 +23865,16 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
style="">
- curl --request GET \
- --get "https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-sets?cached=1&page=1&limit=50&fields=id%2Ccreated_at&orderBy=orderBy%3Did%2Cdesc&orderBy%5B%5D=orderBy%5B%5D%3Did%2Cdesc%26orderBy%5B%5D%3Dcreated_at%2Casc&where=where%3Did%2Clike%2C%2A550e%2A&where%5B%5D=where%5B%5D%3Did%2Clike%2C%2A550e%2A%26where%5B%5D%3Dcreated_at%2C%3E%3D%2C2024-01-01" \
+ curl --request PUT \
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/users/voluptatem" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
- --header "X-Authorisation: JWT eyJ0eXAiOiJKV..."
+ --header "X-Authorisation: JWT eyJ0eXAiOiJKV..." \
+ --data "{
+ \"is_admin\": true
+}"
+
https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-sets"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/users/voluptatem"
);
-const params = {
- "cached": "1",
- "page": "1",
- "limit": "50",
- "fields": "id,created_at",
- "orderBy": "orderBy=id,desc",
- "orderBy[]": "orderBy[]=id,desc&orderBy[]=created_at,asc",
- "where": "where=id,like,*550e*",
- "where[]": "where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01",
-};
-Object.keys(params)
- .forEach(key => url.searchParams.append(key, params[key]));
-
const headers = {
"Authorization": "Bearer {YOUR_API_TOKEN}",
"Content-Type": "application/json",
@@ -24219,9 +23892,14 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
"X-Authorisation": "JWT eyJ0eXAiOiJKV...",
};
+let body = {
+ "is_admin": true
+};
+
fetch(url, {
- method: "GET",
+ method: "PUT",
headers,
+ body: JSON.stringify(body),
}).then(response => response.json());
@@ -24230,8 +23908,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-sets';
-$response = $client->get(
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users/voluptatem';
+$response = $client->put(
$url,
[
'headers' => [
@@ -24240,15 +23918,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'Accept' => 'application/json',
'X-Authorisation' => 'JWT eyJ0eXAiOiJKV...',
],
- 'query' => [
- 'cached' => '1',
- 'page' => '1',
- 'limit' => '50',
- 'fields' => 'id,created_at',
- 'orderBy' => 'orderBy=id,desc',
- 'orderBy[]' => 'orderBy[]=id,desc&orderBy[]=created_at,asc',
- 'where' => 'where=id,like,*550e*',
- 'where[]' => 'where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01',
+ 'json' => [
+ 'is_admin' => true,
],
]
);
@@ -24263,16 +23934,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-sets'
-params = {
- 'cached': '1',
- 'page': '1',
- 'limit': '50',
- 'fields': 'id,created_at',
- 'orderBy': 'orderBy=id,desc',
- 'orderBy[]': 'orderBy[]=id,desc&orderBy[]=created_at,asc',
- 'where': 'where=id,like,*550e*',
- 'where[]': 'where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01',
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users/voluptatem'
+payload = {
+ "is_admin": true
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -24281,49 +23945,12 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'X-Authorisation': 'JWT eyJ0eXAiOiJKV...'
}
-response = requests.request('GET', url, headers=headers, params=params)
+response = requests.request('PUT', url, headers=headers, json=payload)
response.json()
-
-
-
-
-
-
-
-
-
+
-
+
@@ -24333,14 +23960,14 @@ class="language-json sl-overflow-x-auto sl-overflow-y-auto">
+ id="admin-endpoints-GETapi-v1-admin-users--id-">
GET /{id}
-
https://vine.openfoodnetwork.org.au
- /api/v1/admin/voucher-sets/{id}
+ /api/v1/admin/users/{id}
https://vine.openfoodnetw
- Retrieve a single voucher.
+ Retrieve a single user by ID.
@@ -24457,19 +24084,19 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
id
- uuid
+ string
required
- Voucher Set ID.
+ The ID of the user.
Example:
- 550e8400-e29b-41d4-a716-446655440000
+ quia
@@ -24560,7 +24187,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
curl --request GET \
- --get "https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-sets/550e8400-e29b-41d4-a716-446655440000?cached=1&fields=id%2Ccreated_at" \
+ --get "https://vine.openfoodnetwork.org.au/api/v1/admin/users/quia?cached=1&fields=id%2Ccreated_at" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
@@ -24572,7 +24199,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-sets/550e8400-e29b-41d4-a716-446655440000"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/users/quia"
);
const params = {
@@ -24600,7 +24227,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-sets/550e8400-e29b-41d4-a716-446655440000';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users/quia';
$response = $client->get(
$url,
[
@@ -24627,7 +24254,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-sets/550e8400-e29b-41d4-a716-446655440000'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users/quia'
params = {
'cached': '1',
'fields': 'id,created_at',
@@ -24653,9 +24280,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example response:
@@ -24673,7 +24300,7 @@ class="svg-inline--fa fa-copy fa-fw fa-sm sl-icon" role="img"
-
@@ -24700,37 +24327,35 @@ class="language-json sl-overflow-x-auto sl-overflow-y-auto">{
-
- /admin/voucher-redemptions
-
- Admin endpoint for unrestricted management of voucher redemptions
-
-
+
- GET /
+ id="admin-endpoints-PUTapi-v1-admin-users--id-">
+ PUT /{id}
-
- GET
+ PUT
+
+
+ PATCH
https://vine.openfoodnetwork.org.au
- /api/v1/admin/voucher-redemptions
+ /api/v1/admin/users/{id}
https://vine.openfoodnetw
- Retrieve voucher redemptions.
+ Update a user.
@@ -24826,192 +24451,71 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
-
-
-
- Query Parameters
+
+ URL Parameters
-
-
-
-
-
-
- cached
- boolean
-
-
-
- Request the response to be cached. Default: true
.
-
-
- Example:
-
-
- 1
-
-
-
-
-
-
-
-
-
-
- page
- integer
-
-
-
- The pagination page number.
-
-
- Example:
-
-
- 1
-
-
-
-
-
-
-
-
-
-
- limit
- integer
-
-
-
- The number of entries returned per pagination page.
-
-
- Example:
-
-
- 50
-
-
-
-
-
-
+
+
- fields
+ id
string
+
+ required
- Comma-separated list of database fields to return within the object.
-
-
- Example:
-
-
- id,created_at
-
-
-
-
-
-
-
-
-
-
- orderBy
- comma-separated
-
-
-
- Order the data by a given field. Comma-separated string.
-
-
- Example:
-
-
- orderBy=id,desc
-
-
-
-
-
-
-
-
-
-
- orderBy[]
- comma-separated
-
-
-
- Compound orderBy
. Order the data by a given field. Comma-separated string. Can not be used in conjunction as standard orderBy
.
+ The ID of the user.
Example:
- orderBy[]=id,desc&orderBy[]=created_at,asc
+ corrupti
-
+
+
+
+
+
+
+ Body Parameters
+
+
+
+
-
@@ -25040,34 +24544,25 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
style="">
- curl --request GET \
- --get "https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-redemptions?cached=1&page=1&limit=50&fields=id%2Ccreated_at&orderBy=orderBy%3Did%2Cdesc&orderBy%5B%5D=orderBy%5B%5D%3Did%2Cdesc%26orderBy%5B%5D%3Dcreated_at%2Casc&where=where%3Did%2Clike%2C%2A550e%2A&where%5B%5D=where%5B%5D%3Did%2Clike%2C%2A550e%2A%26where%5B%5D%3Dcreated_at%2C%3E%3D%2C2024-01-01" \
+ curl --request PUT \
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/users/corrupti" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
- --header "X-Authorisation: JWT eyJ0eXAiOiJKV..."
-
-
-
+
@@ -25087,8 +24587,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-redemptions';
-$response = $client->get(
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users/corrupti';
+$response = $client->put(
$url,
[
'headers' => [
@@ -25097,15 +24597,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'Accept' => 'application/json',
'X-Authorisation' => 'JWT eyJ0eXAiOiJKV...',
],
- 'query' => [
- 'cached' => '1',
- 'page' => '1',
- 'limit' => '50',
- 'fields' => 'id,created_at',
- 'orderBy' => 'orderBy=id,desc',
- 'orderBy[]' => 'orderBy[]=id,desc&orderBy[]=created_at,asc',
- 'where' => 'where=id,like,*550e*',
- 'where[]' => 'where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01',
+ 'json' => [
+ 'is_admin' => true,
],
]
);
@@ -25120,16 +24613,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-redemptions'
-params = {
- 'cached': '1',
- 'page': '1',
- 'limit': '50',
- 'fields': 'id,created_at',
- 'orderBy': 'orderBy=id,desc',
- 'orderBy[]': 'orderBy[]=id,desc&orderBy[]=created_at,asc',
- 'where': 'where=id,like,*550e*',
- 'where[]': 'where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01',
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users/corrupti'
+payload = {
+ "is_admin": true
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -25138,66 +24624,36 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'X-Authorisation': 'JWT eyJ0eXAiOiJKV...'
}
-response = requests.request('GET', url, headers=headers, params=params)
+response = requests.request('PUT', url, headers=headers, json=payload)
response.json()
-
-
-
-
-
-
-
-
-
+
+ /admin/vouchers
+
+ Admin endpoint for unrestricted management of vouchers
+
+
- GET /{id}
+ id="admin-endpoints-GETapi-v1-admin-vouchers">
+ GET /
-
https://vine.openfoodnetwork.org.au
- /api/v1/admin/voucher-redemptions/{id}
+ /api/v1/admin/vouchers
https://vine.openfoodnetw
- Retrieve a single voucher redemption.
+ Retrieve voucher sets.
@@ -25304,53 +24760,45 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
-
- URL Parameters
+
-
-
+
+ Query Parameters
+
+
+
- id
- uuid
+ cached
+ boolean
-
- required
- Voucher Set ID.
+ Request the response to be cached. Default: true
.
Example:
- 550e8400-e29b-41d4-a716-446655440000
+ 1
-
-
-
-
-
- Query Parameters
-
-
- cached
- boolean
+ page
+ integer
- Request the response to be cached. Default: true
.
+ The pagination page number.
Example:
@@ -25361,6 +24809,28 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
+
+
+
+
+
+
+ limit
+ integer
+
+
+
+ The number of entries returned per pagination page.
+
+
+ Example:
+
+
+ 50
+
+
+
+
@@ -25383,6 +24853,94 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
+
+
+
+
+
+
+ orderBy
+ comma-separated
+
+
+
+ Order the data by a given field. Comma-separated string.
+
+
+ Example:
+
+
+ orderBy=id,desc
+
+
+
+
+
+
+
+
+
+
+ orderBy[]
+ comma-separated
+
+
+
+ Compound orderBy
. Order the data by a given field. Comma-separated string. Can not be used in conjunction as standard orderBy
.
+
+
+ Example:
+
+
+ orderBy[]=id,desc&orderBy[]=created_at,asc
+
+
+
+
+
+
+
+
+
+
+ where
+ comma-separated
+
+
+
+ Filter the request on a single field. Key-Value or Key-Operator-Value comma-separated string.
+
+
+ Example:
+
+
+ where=id,like,*550e*
+
+
+
+
+
+
+
+
+
+
+ where[]
+ comma-separated
+
+
+
+ Compound where
. Use when you need to filter on multiple where
's. Note only AND is possible; ORWHERE is not available.
+
+
+ Example:
+
+
+ where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01
+
+
+
+
@@ -25417,7 +24975,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
curl --request GET \
- --get "https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-redemptions/550e8400-e29b-41d4-a716-446655440000?cached=1&fields=id%2Ccreated_at" \
+ --get "https://vine.openfoodnetwork.org.au/api/v1/admin/vouchers?cached=1&page=1&limit=50&fields=id%2Ccreated_at&orderBy=orderBy%3Did%2Cdesc&orderBy%5B%5D=orderBy%5B%5D%3Did%2Cdesc%26orderBy%5B%5D%3Dcreated_at%2Casc&where=where%3Did%2Clike%2C%2A550e%2A&where%5B%5D=where%5B%5D%3Did%2Clike%2C%2A550e%2A%26where%5B%5D%3Dcreated_at%2C%3E%3D%2C2024-01-01" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
@@ -25429,12 +24987,18 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-redemptions/550e8400-e29b-41d4-a716-446655440000"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/vouchers"
);
const params = {
"cached": "1",
+ "page": "1",
+ "limit": "50",
"fields": "id,created_at",
+ "orderBy": "orderBy=id,desc",
+ "orderBy[]": "orderBy[]=id,desc&orderBy[]=created_at,asc",
+ "where": "where=id,like,*550e*",
+ "where[]": "where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
@@ -25457,7 +25021,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-redemptions/550e8400-e29b-41d4-a716-446655440000';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/vouchers';
$response = $client->get(
$url,
[
@@ -25469,7 +25033,13 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
],
'query' => [
'cached' => '1',
+ 'page' => '1',
+ 'limit' => '50',
'fields' => 'id,created_at',
+ 'orderBy' => 'orderBy=id,desc',
+ 'orderBy[]' => 'orderBy[]=id,desc&orderBy[]=created_at,asc',
+ 'where' => 'where=id,like,*550e*',
+ 'where[]' => 'where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01',
],
]
);
@@ -25484,10 +25054,16 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-redemptions/550e8400-e29b-41d4-a716-446655440000'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/vouchers'
params = {
'cached': '1',
+ 'page': '1',
+ 'limit': '50',
'fields': 'id,created_at',
+ 'orderBy': 'orderBy=id,desc',
+ 'orderBy[]': 'orderBy[]=id,desc&orderBy[]=created_at,asc',
+ 'where': 'where=id,like,*550e*',
+ 'where[]': 'where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01',
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -25510,9 +25086,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example response:
@@ -25530,26 +25106,12 @@ class="svg-inline--fa fa-copy fa-fw fa-sm sl-icon" role="img"
-
{
- "meta": {
- "responseCode": 200,
- "limit": 50,
- "offset": 0,
- "message": "",
- "cached": true,
- "cached_at": "2024-08-13 08:58:19",
- "availableRelations": []
- },
- "data": {
- "id": 1234,
- "created_at": "2024-01-01 00:00:00"
- }
-}
+ class="language-json sl-overflow-x-auto sl-overflow-y-auto">
@@ -25557,37 +25119,30 @@ class="language-json sl-overflow-x-auto sl-overflow-y-auto">{
-
- /admin/users
-
- API for managing users
-
-
+
- POST /
+ id="admin-endpoints-GETapi-v1-admin-vouchers--id-">
+ GET /{id}
-
- POST
+ GET
https://vine.openfoodnetwork.org.au
- /api/v1/admin/users
+ /api/v1/admin/vouchers/{id}
https://vine.openfoodnetw
- Create a user.
+ Retrieve a single voucher set.
@@ -25683,97 +25238,90 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
-
-
-
- Body Parameters
+ URL Parameters
-
-
-
@@ -25802,18 +25350,12 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
style="">
- curl --request POST \
- "https://vine.openfoodnetwork.org.au/api/v1/admin/users" \
+ curl --request GET \
+ --get "https://vine.openfoodnetwork.org.au/api/v1/admin/vouchers/550e8400-e29b-41d4-a716-446655440000?cached=1&fields=id%2Ccreated_at" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
- --header "X-Authorisation: JWT eyJ0eXAiOiJKV..." \
- --data "{
- \"name\": \"aut\",
- \"email\": \"bergstrom.joesph@example.net\",
- \"current_team_id\": 19
-}"
-
+ --header "X-Authorisation: JWT eyJ0eXAiOiJKV..."
https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/users"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/vouchers/550e8400-e29b-41d4-a716-446655440000"
);
+const params = {
+ "cached": "1",
+ "fields": "id,created_at",
+};
+Object.keys(params)
+ .forEach(key => url.searchParams.append(key, params[key]));
+
const headers = {
"Authorization": "Bearer {YOUR_API_TOKEN}",
"Content-Type": "application/json",
@@ -25831,16 +25380,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
"X-Authorisation": "JWT eyJ0eXAiOiJKV...",
};
-let body = {
- "name": "aut",
- "email": "bergstrom.joesph@example.net",
- "current_team_id": 19
-};
-
fetch(url, {
- method: "POST",
+ method: "GET",
headers,
- body: JSON.stringify(body),
}).then(response => response.json());
@@ -25849,8 +25391,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users';
-$response = $client->post(
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/vouchers/550e8400-e29b-41d4-a716-446655440000';
+$response = $client->get(
$url,
[
'headers' => [
@@ -25859,10 +25401,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'Accept' => 'application/json',
'X-Authorisation' => 'JWT eyJ0eXAiOiJKV...',
],
- 'json' => [
- 'name' => 'aut',
- 'email' => 'bergstrom.joesph@example.net',
- 'current_team_id' => 19,
+ 'query' => [
+ 'cached' => '1',
+ 'fields' => 'id,created_at',
],
]
);
@@ -25877,11 +25418,10 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users'
-payload = {
- "name": "aut",
- "email": "bergstrom.joesph@example.net",
- "current_team_id": 19
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/vouchers/550e8400-e29b-41d4-a716-446655440000'
+params = {
+ 'cached': '1',
+ 'fields': 'id,created_at',
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -25890,40 +25430,98 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'X-Authorisation': 'JWT eyJ0eXAiOiJKV...'
}
-response = requests.request('POST', url, headers=headers, json=payload)
+response = requests.request('GET', url, headers=headers, params=params)
response.json()
+
+
+
+ {
+ "meta": {
+ "responseCode": 200,
+ "limit": 50,
+ "offset": 0,
+ "message": "",
+ "cached": true,
+ "cached_at": "2024-08-13 08:58:19",
+ "availableRelations": []
+ },
+ "data": {
+ "id": 1234,
+ "created_at": "2024-01-01 00:00:00"
+ }
+}
+
+
+
+
-
+
+ /admin/voucher-sets
+
+ Admin endpoint for unrestricted management of voucher sets
+
+
- GET /
+ id="admin-endpoints-POSTapi-v1-admin-voucher-sets">
+ POST /
-
- GET
+ POST
https://vine.openfoodnetwork.org.au
- /api/v1/admin/users
+ /api/v1/admin/voucher-sets
https://vine.openfoodnetw
- Retrieve users.
+ Create a new voucher set.
@@ -26021,190 +25619,245 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
-
- Query Parameters
+
+
+ Body Parameters
+
+
+ Example response:
@@ -26360,62 +26043,17 @@ class="sl-button sl-h-sm sl-text-base sl-font-medium sl-px-1.5 hover:sl-bg-canva
class="svg-inline--fa fa-copy fa-fw fa-sm sl-icon" role="img"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
@@ -26345,9 +26028,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
-
-
-
-
-
-
- {
- "meta": {
- "responseCode": 200,
- "limit": 50,
- "offset": 0,
- "message": "",
- "cached": false,
- "availableRelations": []
- },
- "data": {
- "current_page": 1,
- "data": [
- {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "created_at": "2024-01-01 00:00:00"
- }
- ],
- "first_page_url": "https://open-food-network-vouchers.test/api/v1/admin/system-statistics?page=1",
- "from": null,
- "last_page": 1,
- "last_page_url": "https://open-food-network-vouchers.test/api/v1/admin/system-statistics?page=1",
- "links": [
- {
- "url": null,
- "label": "« Previous",
- "active": false
- },
- {
- "url": "https://open-food-network-vouchers.test/api/v1/admin/system-statistics?page=1",
- "label": "1",
- "active": true
- },
- {
- "url": null,
- "label": "Next »",
- "active": false
- }
- ],
- "next_page_url": null,
- "path": "https://open-food-network-vouchers.test/api/v1/admin/system-statistics",
- "per_page": 1,
- "prev_page_url": null,
- "to": null,
- "total": 0
- }
-}
+ d="M384 96L384 0h-112c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48H464c26.51 0 48-21.49 48-48V128h-95.1C398.4 128 384 113.6 384 96zM416 0v96h96L416 0zM192 352V128h-144c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48h192c26.51 0 48-21.49 48-48L288 416h-32C220.7 416 192 387.3 192 352z">
+
+
+
+
+
+
+
@@ -26428,14 +26066,14 @@ class="language-json sl-overflow-x-auto sl-overflow-y-auto">{
- GET /{id}
+ id="admin-endpoints-GETapi-v1-admin-voucher-sets">
+ GET /
-
https://vine.openfoodnetwork.org.au
- /api/v1/admin/users/{id}
+ /api/v1/admin/voucher-sets
https://vine.openfoodnetw
- Retrieve a single user by ID.
+ Retrieve vouchers.
@@ -26542,53 +26180,45 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
-
- URL Parameters
+
-
-
+
+ Query Parameters
+
+
+
- id
- string
+ cached
+ boolean
-
- required
- The ID of the user.
+ Request the response to be cached. Default: true
.
Example:
- necessitatibus
+ 1
-
-
-
-
-
- Query Parameters
-
-
- cached
- boolean
+ page
+ integer
- Request the response to be cached. Default: true
.
+ The pagination page number.
Example:
@@ -26599,6 +26229,28 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
+
+
+
+
+
+
+ limit
+ integer
+
+
+
+ The number of entries returned per pagination page.
+
+
+ Example:
+
+
+ 50
+
+
+
+
@@ -26621,6 +26273,94 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
+
+
+
+
+
+
+ orderBy
+ comma-separated
+
+
+
+ Order the data by a given field. Comma-separated string.
+
+
+ Example:
+
+
+ orderBy=id,desc
+
+
+
+
+
+
+
+
+
+
+ orderBy[]
+ comma-separated
+
+
+
+ Compound orderBy
. Order the data by a given field. Comma-separated string. Can not be used in conjunction as standard orderBy
.
+
+
+ Example:
+
+
+ orderBy[]=id,desc&orderBy[]=created_at,asc
+
+
+
+
+
+
+
+
+
+
+ where
+ comma-separated
+
+
+
+ Filter the request on a single field. Key-Value or Key-Operator-Value comma-separated string.
+
+
+ Example:
+
+
+ where=id,like,*550e*
+
+
+
+
+
+
+
+
+
+
+ where[]
+ comma-separated
+
+
+
+ Compound where
. Use when you need to filter on multiple where
's. Note only AND is possible; ORWHERE is not available.
+
+
+ Example:
+
+
+ where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01
+
+
+
+
@@ -26655,7 +26395,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
curl --request GET \
- --get "https://vine.openfoodnetwork.org.au/api/v1/admin/users/necessitatibus?cached=1&fields=id%2Ccreated_at" \
+ --get "https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-sets?cached=1&page=1&limit=50&fields=id%2Ccreated_at&orderBy=orderBy%3Did%2Cdesc&orderBy%5B%5D=orderBy%5B%5D%3Did%2Cdesc%26orderBy%5B%5D%3Dcreated_at%2Casc&where=where%3Did%2Clike%2C%2A550e%2A&where%5B%5D=where%5B%5D%3Did%2Clike%2C%2A550e%2A%26where%5B%5D%3Dcreated_at%2C%3E%3D%2C2024-01-01" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
@@ -26667,12 +26407,18 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/users/necessitatibus"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-sets"
);
const params = {
"cached": "1",
+ "page": "1",
+ "limit": "50",
"fields": "id,created_at",
+ "orderBy": "orderBy=id,desc",
+ "orderBy[]": "orderBy[]=id,desc&orderBy[]=created_at,asc",
+ "where": "where=id,like,*550e*",
+ "where[]": "where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
@@ -26695,7 +26441,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users/necessitatibus';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-sets';
$response = $client->get(
$url,
[
@@ -26707,7 +26453,13 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
],
'query' => [
'cached' => '1',
+ 'page' => '1',
+ 'limit' => '50',
'fields' => 'id,created_at',
+ 'orderBy' => 'orderBy=id,desc',
+ 'orderBy[]' => 'orderBy[]=id,desc&orderBy[]=created_at,asc',
+ 'where' => 'where=id,like,*550e*',
+ 'where[]' => 'where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01',
],
]
);
@@ -26722,10 +26474,16 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users/necessitatibus'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-sets'
params = {
'cached': '1',
+ 'page': '1',
+ 'limit': '50',
'fields': 'id,created_at',
+ 'orderBy': 'orderBy=id,desc',
+ 'orderBy[]': 'orderBy[]=id,desc&orderBy[]=created_at,asc',
+ 'where': 'where=id,like,*550e*',
+ 'where[]': 'where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01',
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -26748,9 +26506,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example response:
@@ -26768,26 +26526,12 @@ class="svg-inline--fa fa-copy fa-fw fa-sm sl-icon" role="img"
-
{
- "meta": {
- "responseCode": 200,
- "limit": 50,
- "offset": 0,
- "message": "",
- "cached": true,
- "cached_at": "2024-08-13 08:58:19",
- "availableRelations": []
- },
- "data": {
- "id": 1234,
- "created_at": "2024-01-01 00:00:00"
- }
-}
+ class="language-json sl-overflow-x-auto sl-overflow-y-auto">
@@ -26800,25 +26544,25 @@ class="language-json sl-overflow-x-auto sl-overflow-y-auto">{
- PUT /{id}
+ id="admin-endpoints-GETapi-v1-admin-voucher-sets--id-">
+ GET /{id}
-
- PUT
+ GET
https://vine.openfoodnetwork.org.au
- /api/v1/admin/users/{id}
+ /api/v1/admin/voucher-sets/{id}
https://vine.openfoodnetw
- Update a user.
+ Retrieve a single voucher.
@@ -26924,61 +26668,80 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
id
- string
+ uuid
+
+
+ required
+
+
+ Voucher Set ID.
+
+
+ Example:
+
+
+ 550e8400-e29b-41d4-a716-446655440000
+
+
+
+
+
+
+
+
+
+
+ Query Parameters
+
+
+
+
+
+
+
+ cached
+ boolean
-
- required
- The ID of the user.
+ Request the response to be cached. Default: true
.
Example:
- enim
+ 1
-
-
-
-
-
-
- Body Parameters
-
-
-
+
+
@@ -27007,16 +26770,12 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
style="">
- curl --request PUT \
- "https://vine.openfoodnetwork.org.au/api/v1/admin/users/enim" \
+ curl --request GET \
+ --get "https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-sets/550e8400-e29b-41d4-a716-446655440000?cached=1&fields=id%2Ccreated_at" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
- --header "X-Authorisation: JWT eyJ0eXAiOiJKV..." \
- --data "{
- \"is_admin\": true
-}"
-
+ --header "X-Authorisation: JWT eyJ0eXAiOiJKV..."
https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/users/enim"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-sets/550e8400-e29b-41d4-a716-446655440000"
);
+const params = {
+ "cached": "1",
+ "fields": "id,created_at",
+};
+Object.keys(params)
+ .forEach(key => url.searchParams.append(key, params[key]));
+
const headers = {
"Authorization": "Bearer {YOUR_API_TOKEN}",
"Content-Type": "application/json",
@@ -27034,14 +26800,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
"X-Authorisation": "JWT eyJ0eXAiOiJKV...",
};
-let body = {
- "is_admin": true
-};
-
fetch(url, {
- method: "PUT",
+ method: "GET",
headers,
- body: JSON.stringify(body),
}).then(response => response.json());
@@ -27050,8 +26811,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users/enim';
-$response = $client->put(
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-sets/550e8400-e29b-41d4-a716-446655440000';
+$response = $client->get(
$url,
[
'headers' => [
@@ -27060,8 +26821,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'Accept' => 'application/json',
'X-Authorisation' => 'JWT eyJ0eXAiOiJKV...',
],
- 'json' => [
- 'is_admin' => true,
+ 'query' => [
+ 'cached' => '1',
+ 'fields' => 'id,created_at',
],
]
);
@@ -27076,9 +26838,10 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users/enim'
-payload = {
- "is_admin": true
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-sets/550e8400-e29b-41d4-a716-446655440000'
+params = {
+ 'cached': '1',
+ 'fields': 'id,created_at',
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -27087,29 +26850,87 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'X-Authorisation': 'JWT eyJ0eXAiOiJKV...'
}
-response = requests.request('PUT', url, headers=headers, json=payload)
+response = requests.request('GET', url, headers=headers, params=params)
response.json()
+
+
+
+ {
+ "meta": {
+ "responseCode": 200,
+ "limit": 50,
+ "offset": 0,
+ "message": "",
+ "cached": true,
+ "cached_at": "2024-08-13 08:58:19",
+ "availableRelations": []
+ },
+ "data": {
+ "id": 1234,
+ "created_at": "2024-01-01 00:00:00"
+ }
+}
+
+
+
+
-
+
+ /admin/voucher-redemptions
+
+ Admin endpoint for unrestricted management of voucher redemptions
+
+
- GET /{id}
+ id="admin-endpoints-GETapi-v1-admin-voucher-redemptions">
+ GET /
-
https://vine.openfoodnetwork.org.au
- /api/v1/admin/users/{id}
+ /api/v1/admin/voucher-redemptions
https://vine.openfoodnetw
- Retrieve a single user by ID.
+ Retrieve voucher redemptions.
@@ -27189,86 +27010,188 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example:
- application/json
+ application/json
+
+
+
+
+
+
+
+
+
+
+ X-Authorisation
+
+
+
+ Example:
+
+
+ JWT eyJ0eXAiOiJKV...
+
+
+
+
+
+
+
+
+
+
+
+ Query Parameters
+
+
+
+
+
+
+
+ cached
+ boolean
+
+
+
+ Request the response to be cached. Default: true
.
+
+
+ Example:
+
+
+ 1
+
+
+
+
+
+
+
+
+
+
+ page
+ integer
+
+
+
+ The pagination page number.
+
+
+ Example:
+
+
+ 1
+
+
+
+
+
+
+
+
+
+
+ limit
+ integer
+
+
+
+ The number of entries returned per pagination page.
+
+
+ Example:
+
+
+ 50
+
+
+
+
+
+
+
+
+
+
+ fields
+ string
+
+
+
+ Comma-separated list of database fields to return within the object.
+
+
+ Example:
+
+
+ id,created_at
-
+
- X-Authorisation
+ orderBy
+ comma-separated
+
+ Order the data by a given field. Comma-separated string.
+
Example:
- JWT eyJ0eXAiOiJKV...
+ orderBy=id,desc
-
-
-
-
- URL Parameters
-
-
-
+
- id
- string
+ orderBy[]
+ comma-separated
-
- required
- The ID of the user.
+ Compound orderBy
. Order the data by a given field. Comma-separated string. Can not be used in conjunction as standard orderBy
.
Example:
- necessitatibus
+ orderBy[]=id,desc&orderBy[]=created_at,asc
-
-
-
-
-
- Query Parameters
-
-
- cached
- boolean
+ where
+ comma-separated
- Request the response to be cached. Default: true
.
+ Filter the request on a single field. Key-Value or Key-Operator-Value comma-separated string.
Example:
- 1
+ where=id,like,*550e*
@@ -27279,18 +27202,18 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
- fields
- string
+ where[]
+ comma-separated
- Comma-separated list of database fields to return within the object.
+ Compound where
. Use when you need to filter on multiple where
's. Note only AND is possible; ORWHERE is not available.
Example:
- id,created_at
+ where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01
@@ -27329,7 +27252,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
curl --request GET \
- --get "https://vine.openfoodnetwork.org.au/api/v1/admin/users/necessitatibus?cached=1&fields=id%2Ccreated_at" \
+ --get "https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-redemptions?cached=1&page=1&limit=50&fields=id%2Ccreated_at&orderBy=orderBy%3Did%2Cdesc&orderBy%5B%5D=orderBy%5B%5D%3Did%2Cdesc%26orderBy%5B%5D%3Dcreated_at%2Casc&where=where%3Did%2Clike%2C%2A550e%2A&where%5B%5D=where%5B%5D%3Did%2Clike%2C%2A550e%2A%26where%5B%5D%3Dcreated_at%2C%3E%3D%2C2024-01-01" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
@@ -27341,12 +27264,18 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/users/necessitatibus"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-redemptions"
);
const params = {
"cached": "1",
+ "page": "1",
+ "limit": "50",
"fields": "id,created_at",
+ "orderBy": "orderBy=id,desc",
+ "orderBy[]": "orderBy[]=id,desc&orderBy[]=created_at,asc",
+ "where": "where=id,like,*550e*",
+ "where[]": "where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
@@ -27369,7 +27298,7 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users/necessitatibus';
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-redemptions';
$response = $client->get(
$url,
[
@@ -27381,7 +27310,13 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
],
'query' => [
'cached' => '1',
+ 'page' => '1',
+ 'limit' => '50',
'fields' => 'id,created_at',
+ 'orderBy' => 'orderBy=id,desc',
+ 'orderBy[]' => 'orderBy[]=id,desc&orderBy[]=created_at,asc',
+ 'where' => 'where=id,like,*550e*',
+ 'where[]' => 'where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01',
],
]
);
@@ -27396,10 +27331,16 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users/necessitatibus'
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-redemptions'
params = {
'cached': '1',
+ 'page': '1',
+ 'limit': '50',
'fields': 'id,created_at',
+ 'orderBy': 'orderBy=id,desc',
+ 'orderBy[]': 'orderBy[]=id,desc&orderBy[]=created_at,asc',
+ 'where': 'where=id,like,*550e*',
+ 'where[]': 'where[]=id,like,*550e*&where[]=created_at,>=,2024-01-01',
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -27422,9 +27363,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
Example response:
@@ -27442,26 +27383,12 @@ class="svg-inline--fa fa-copy fa-fw fa-sm sl-icon" role="img"
-
{
- "meta": {
- "responseCode": 200,
- "limit": 50,
- "offset": 0,
- "message": "",
- "cached": true,
- "cached_at": "2024-08-13 08:58:19",
- "availableRelations": []
- },
- "data": {
- "id": 1234,
- "created_at": "2024-01-01 00:00:00"
- }
-}
+ class="language-json sl-overflow-x-auto sl-overflow-y-auto">
@@ -27474,30 +27401,25 @@ class="language-json sl-overflow-x-auto sl-overflow-y-auto">{
- PUT /{id}
+ id="admin-endpoints-GETapi-v1-admin-voucher-redemptions--id-">
+ GET /{id}
-
- PUT
-
-
- PATCH
+ GET
https://vine.openfoodnetwork.org.au
- /api/v1/admin/users/{id}
+ /api/v1/admin/voucher-redemptions/{id}
https://vine.openfoodnetw
- Update a user.
+ Retrieve a single voucher redemption.
@@ -27603,19 +27525,19 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
id
- string
+ uuid
required
- The ID of the user.
+ Voucher Set ID.
Example:
- cum
+ 550e8400-e29b-41d4-a716-446655440000
@@ -27625,31 +27547,58 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
-
-
- Body Parameters
+
+ Query Parameters
-
+
+
@@ -27678,16 +27627,12 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
style="">
- curl --request PUT \
- "https://vine.openfoodnetwork.org.au/api/v1/admin/users/cum" \
+ curl --request GET \
+ --get "https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-redemptions/550e8400-e29b-41d4-a716-446655440000?cached=1&fields=id%2Ccreated_at" \
--header "Authorization: Bearer {YOUR_API_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
- --header "X-Authorisation: JWT eyJ0eXAiOiJKV..." \
- --data "{
- \"is_admin\": false
-}"
-
+ --header "X-Authorisation: JWT eyJ0eXAiOiJKV..."
https://vine.openfoodnetw
const url = new URL(
- "https://vine.openfoodnetwork.org.au/api/v1/admin/users/cum"
+ "https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-redemptions/550e8400-e29b-41d4-a716-446655440000"
);
+const params = {
+ "cached": "1",
+ "fields": "id,created_at",
+};
+Object.keys(params)
+ .forEach(key => url.searchParams.append(key, params[key]));
+
const headers = {
"Authorization": "Bearer {YOUR_API_TOKEN}",
"Content-Type": "application/json",
@@ -27705,14 +27657,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
"X-Authorisation": "JWT eyJ0eXAiOiJKV...",
};
-let body = {
- "is_admin": false
-};
-
fetch(url, {
- method: "PUT",
+ method: "GET",
headers,
- body: JSON.stringify(body),
}).then(response => response.json());
@@ -27721,8 +27668,8 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
$client = new \GuzzleHttp\Client();
-$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users/cum';
-$response = $client->put(
+$url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-redemptions/550e8400-e29b-41d4-a716-446655440000';
+$response = $client->get(
$url,
[
'headers' => [
@@ -27731,8 +27678,9 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'Accept' => 'application/json',
'X-Authorisation' => 'JWT eyJ0eXAiOiJKV...',
],
- 'json' => [
- 'is_admin' => false,
+ 'query' => [
+ 'cached' => '1',
+ 'fields' => 'id,created_at',
],
]
);
@@ -27747,9 +27695,10 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
import requests
import json
-url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/users/cum'
-payload = {
- "is_admin": false
+url = 'https://vine.openfoodnetwork.org.au/api/v1/admin/voucher-redemptions/550e8400-e29b-41d4-a716-446655440000'
+params = {
+ 'cached': '1',
+ 'fields': 'id,created_at',
}
headers = {
'Authorization': 'Bearer {YOUR_API_TOKEN}',
@@ -27758,12 +27707,63 @@ class="sl-overflow-x-hidden sl-truncate sl-text-muted">https://vine.openfoodnetw
'X-Authorisation': 'JWT eyJ0eXAiOiJKV...'
}
-response = requests.request('PUT', url, headers=headers, json=payload)
+response = requests.request('GET', url, headers=headers, params=params)
response.json()
+
+
+
+ {
+ "meta": {
+ "responseCode": 200,
+ "limit": 50,
+ "offset": 0,
+ "message": "",
+ "cached": true,
+ "cached_at": "2024-08-13 08:58:19",
+ "availableRelations": []
+ },
+ "data": {
+ "id": 1234,
+ "created_at": "2024-01-01 00:00:00"
+ }
+}
+
+
+
+