Introduction
Version: v5.1.4 Updated: Jul 26, 2023
This documentation aims to provide all the information you need to work with our API.
Base URL
https://demo.metafox.app/api/v1
Authenticating requests
To authenticate requests, include an Authorization
header with the value "Bearer {accessToken}"
.
All authenticated endpoints are marked with a requires authentication
badge in the documentation below.
You can retrieve your token with api Generate API token.
Activity Point
App name: Activity Point Version: 5.0.7 Author: phpFox Updated at: Jul 26, 2023
Browse item.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/activitypoint/package" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"sort": "recent",
"sort_type": "desc"
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/activitypoint/package',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'sort' => 'recent',
'sort_type' => 'desc',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/activitypoint/package"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"sort": "recent",
"sort_type": "desc"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Browse item.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/activitypoint/package-transaction" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"from": "2023-07-26T10:00:24",
"to": "2023-07-26T10:00:24",
"sort": "recent",
"sort_type": "desc"
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/activitypoint/package-transaction',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'from' => '2023-07-26T10:00:24',
'to' => '2023-07-26T10:00:24',
'sort' => 'recent',
'sort_type' => 'desc',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/activitypoint/package-transaction"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"from": "2023-07-26T10:00:24",
"to": "2023-07-26T10:00:24",
"sort": "recent",
"sort_type": "desc"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
POST activitypoint/package/purchase/{id}
requires authentication
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/activitypoint/package/purchase/19737086" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"payment_gateway": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/activitypoint/package/purchase/19737086',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'payment_gateway' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/activitypoint/package/purchase/19737086"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"payment_gateway": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
View item.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/activitypoint/package/5" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/activitypoint/package/5',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/activitypoint/package/5"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Browse item.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/activitypoint/setting" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"sort": "recent",
"sort_type": "asc"
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/activitypoint/setting',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'sort' => 'recent',
'sort_type' => 'asc',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/activitypoint/setting"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"sort": "recent",
"sort_type": "asc"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
View item.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/activitypoint/statistic/342261" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/activitypoint/statistic/342261',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/activitypoint/statistic/342261"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Browse item.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/activitypoint/transaction" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"from": "2023-07-26T10:00:24",
"to": "2023-07-26T10:00:24",
"sort": "most_discussed",
"sort_type": "desc"
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/activitypoint/transaction',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'from' => '2023-07-26T10:00:24',
'to' => '2023-07-26T10:00:24',
'sort' => 'most_discussed',
'sort_type' => 'desc',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/activitypoint/transaction"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"from": "2023-07-26T10:00:24",
"to": "2023-07-26T10:00:24",
"sort": "most_discussed",
"sort_type": "desc"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
View item.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/activitypoint/transaction/9997281" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/activitypoint/transaction/9997281',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/activitypoint/transaction/9997281"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Advertise
App name: Advertise Version: 5.0.3 Author: phpFox Updated at: Jul 26, 2023
GET advertise/advertise
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/advertise/advertise"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/advertise/advertise');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/advertise"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
POST advertise/advertise
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/advertise/advertise" \
--header "Content-Type: application/json" \
--data "{
"placement_id": null,
"image": null,
"url": "http:\/\/rice.com\/optio-quis-sunt-non-enim-quidem-consequatur-ipsam-quis",
"title": null,
"languages": [
null
],
"start_date": "2023-07-26T10:00:24",
"creation_type": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/advertise/advertise',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'placement_id' => null,
'image' => null,
'url' => 'http://rice.com/optio-quis-sunt-non-enim-quidem-consequatur-ipsam-quis',
'title' => null,
'languages' => [
null,
],
'start_date' => '2023-07-26T10:00:24',
'creation_type' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/advertise"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"placement_id": null,
"image": null,
"url": "http:\/\/rice.com\/optio-quis-sunt-non-enim-quidem-consequatur-ipsam-quis",
"title": null,
"languages": [
null
],
"start_date": "2023-07-26T10:00:24",
"creation_type": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
PATCH advertise/advertise/active/{id}
Example request:
curl --request PATCH \
"https://demo.metafox.app/api/v1/advertise/advertise/active/7"
$client = new \GuzzleHttp\Client();
$response = $client->patch('https://demo.metafox.app/api/v1/advertise/advertise/active/7');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/advertise/active/7"
);
fetch(url, {
method: "PATCH",
}).then(response => response.json());
Received response:
Request failed with error:
PATCH advertise/advertise/hide/{id}
Example request:
curl --request PATCH \
"https://demo.metafox.app/api/v1/advertise/advertise/hide/79701"
$client = new \GuzzleHttp\Client();
$response = $client->patch('https://demo.metafox.app/api/v1/advertise/advertise/hide/79701');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/advertise/hide/79701"
);
fetch(url, {
method: "PATCH",
}).then(response => response.json());
Received response:
Request failed with error:
GET advertise/advertise/report/{id}
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/advertise/advertise/report/41" \
--header "Content-Type: application/json" \
--data "{
"report_type": null,
"view": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/advertise/advertise/report/41',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'report_type' => null,
'view' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/advertise/report/41"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"report_type": null,
"view": null
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
GET advertise/advertise/show
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/advertise/advertise/show" \
--header "Content-Type: application/json" \
--data "{
"placement_id": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/advertise/advertise/show',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'placement_id' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/advertise/show"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"placement_id": null
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
PATCH advertise/advertise/total/{id}
Example request:
curl --request PATCH \
"https://demo.metafox.app/api/v1/advertise/advertise/total/6" \
--header "Content-Type: application/json" \
--data "{
"type": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
'https://demo.metafox.app/api/v1/advertise/advertise/total/6',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'type' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/advertise/total/6"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"type": null
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
View item.
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/advertise/advertise/6900"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/advertise/advertise/6900');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/advertise/6900"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
PUT advertise/advertise/{id}
Example request:
curl --request PUT \
"https://demo.metafox.app/api/v1/advertise/advertise/0" \
--header "Content-Type: application/json" \
--data "{
"title": null,
"languages": [
null
]
}"
$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://demo.metafox.app/api/v1/advertise/advertise/0',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'title' => null,
'languages' => [
null,
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/advertise/0"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"title": null,
"languages": [
null
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Delete item.
Example request:
curl --request DELETE \
"https://demo.metafox.app/api/v1/advertise/advertise/69"
$client = new \GuzzleHttp\Client();
$response = $client->delete('https://demo.metafox.app/api/v1/advertise/advertise/69');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/advertise/69"
);
fetch(url, {
method: "DELETE",
}).then(response => response.json());
Received response:
Request failed with error:
Browse item.
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/advertise/invoice"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/advertise/invoice');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/invoice"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
PATCH advertise/invoice/cancel/{id}
Example request:
curl --request PATCH \
"https://demo.metafox.app/api/v1/advertise/invoice/cancel/41"
$client = new \GuzzleHttp\Client();
$response = $client->patch('https://demo.metafox.app/api/v1/advertise/invoice/cancel/41');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/invoice/cancel/41"
);
fetch(url, {
method: "PATCH",
}).then(response => response.json());
Received response:
Request failed with error:
POST advertise/invoice/change
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/advertise/invoice/change" \
--header "Content-Type: application/json" \
--data "{
"item_id": null,
"item_type": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/advertise/invoice/change',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'item_id' => null,
'item_type' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/invoice/change"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"item_id": null,
"item_type": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
POST advertise/invoice/payment
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/advertise/invoice/payment" \
--header "Content-Type: application/json" \
--data "{
"item_id": null,
"item_type": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/advertise/invoice/payment',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'item_id' => null,
'item_type' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/invoice/payment"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"item_id": null,
"item_type": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Browse item.
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/advertise/sponsor"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/advertise/sponsor');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/sponsor"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
Store item.
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/advertise/sponsor" \
--header "Content-Type: application/json" \
--data "{
"title": null,
"languages": [
null
],
"start_date": "2023-07-26T10:00:24",
"item_type": null,
"item_id": null,
"total_impression": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/advertise/sponsor',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'title' => null,
'languages' => [
null,
],
'start_date' => '2023-07-26T10:00:24',
'item_type' => null,
'item_id' => null,
'total_impression' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/sponsor"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"title": null,
"languages": [
null
],
"start_date": "2023-07-26T10:00:24",
"item_type": null,
"item_id": null,
"total_impression": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
PATCH advertise/sponsor/active/{id}
Example request:
curl --request PATCH \
"https://demo.metafox.app/api/v1/advertise/sponsor/active/846245865"
$client = new \GuzzleHttp\Client();
$response = $client->patch('https://demo.metafox.app/api/v1/advertise/sponsor/active/846245865');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/sponsor/active/846245865"
);
fetch(url, {
method: "PATCH",
}).then(response => response.json());
Received response:
Request failed with error:
Store item.
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/advertise/sponsor/feed" \
--header "Content-Type: application/json" \
--data "{
"title": null,
"languages": [
null
],
"start_date": "2023-07-26T10:00:24",
"item_type": null,
"item_id": null,
"total_impression": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/advertise/sponsor/feed',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'title' => null,
'languages' => [
null,
],
'start_date' => '2023-07-26T10:00:24',
'item_type' => null,
'item_id' => null,
'total_impression' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/sponsor/feed"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"title": null,
"languages": [
null
],
"start_date": "2023-07-26T10:00:24",
"item_type": null,
"item_id": null,
"total_impression": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
GET advertise/sponsor/form/feed/{itemType}/{itemId}
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/advertise/sponsor/form/feed//"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/advertise/sponsor/form/feed//');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/sponsor/form/feed//"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
GET advertise/sponsor/form/{itemType}/{itemId}
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/advertise/sponsor/form//"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/advertise/sponsor/form//');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/sponsor/form//"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
View item.
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/advertise/sponsor/730"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/advertise/sponsor/730');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/sponsor/730"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
Update item.
Example request:
curl --request PUT \
"https://demo.metafox.app/api/v1/advertise/sponsor/615" \
--header "Content-Type: application/json" \
--data "{
"title": null,
"languages": [
null
]
}"
$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://demo.metafox.app/api/v1/advertise/sponsor/615',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'title' => null,
'languages' => [
null,
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/sponsor/615"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"title": null,
"languages": [
null
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Delete item.
Example request:
curl --request DELETE \
"https://demo.metafox.app/api/v1/advertise/sponsor/5"
$client = new \GuzzleHttp\Client();
$response = $client->delete('https://demo.metafox.app/api/v1/advertise/sponsor/5');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/advertise/sponsor/5"
);
fetch(url, {
method: "DELETE",
}).then(response => response.json());
Received response:
Request failed with error:
POST sponsor/total/click
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/sponsor/total/click" \
--header "Content-Type: application/json" \
--data "{
"item_type": null,
"item_ids": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/sponsor/total/click',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'item_type' => null,
'item_ids' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/sponsor/total/click"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"item_type": null,
"item_ids": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
POST sponsor/total/view
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/sponsor/total/view" \
--header "Content-Type: application/json" \
--data "{
"item_type": null,
"item_ids": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/sponsor/total/view',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'item_type' => null,
'item_ids' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/sponsor/total/view"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"item_type": null,
"item_ids": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Announcement
App name: Announcement Version: 5.0.7 Author: phpFox Updated at: Jul 26, 2023
Browse announcement.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/announcement?limit=10" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/announcement',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
'query' => [
'limit'=> '10',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/announcement"
);
const params = {
"limit": "10",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Browse announcement.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/announcement/view?announcement_id=&limit=10" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/announcement/view',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
'query' => [
'announcement_id'=> '',
'limit'=> '10',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/announcement/view"
);
const params = {
"announcement_id": "",
"limit": "10",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Hide announcement.
requires authentication
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/announcement/view" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"announcement_id": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/announcement/view',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'announcement_id' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/announcement/view"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"announcement_id": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
View announcement.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/announcement/0000" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/announcement/0000',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/announcement/0000"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Attachments
App name: Attachments Version: 5.0.0 Author: phpFox Updated at: Jul 26, 2023
Upload attachment.
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/attachment" \
--header "Content-Type: application/json" \
--data "{
"file": null,
"item_type": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/attachment',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'file' => null,
'item_type' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/attachment"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"file": null,
"item_type": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Allow downloading resource.
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/attachment/download/32"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/attachment/download/32');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/attachment/download/32"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
Authorization
App name: Authorization Version: 5.0.6 Author: phpFox Updated at: Jul 26, 2023
Store item.
Blog
App name: Blog Version: 5.0.7 Author: phpFox Updated at: Jul 26, 2023
Browse blog.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/blog?view=sponsor&sort=most_liked&sort_type=desc&when=all&user_id=0" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/blog',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
'query' => [
'view'=> 'sponsor',
'sort'=> 'most_liked',
'sort_type'=> 'desc',
'when'=> 'all',
'user_id'=> '0',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/blog"
);
const params = {
"view": "sponsor",
"sort": "most_liked",
"sort_type": "desc",
"when": "all",
"user_id": "0",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Create blog.
requires authentication
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/blog" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"title": null,
"categories": [
null
],
"text": null,
"tags": [
null
],
"privacy": null,
"attachments": [
null
]
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/blog',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'title' => null,
'categories' => [
null,
],
'text' => null,
'tags' => [
null,
],
'privacy' => null,
'attachments' => [
null,
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/blog"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"title": null,
"categories": [
null
],
"text": null,
"tags": [
null
],
"privacy": null,
"attachments": [
null
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Display a listing of the resource.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/blog-category" \
--header "Authorization: Bearer {accessToken}" \
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/blog-category',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/blog-category"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Approve blog.
requires authentication
Example request:
curl --request PATCH \
"https://demo.metafox.app/api/v1/blog/approve/48694" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
'https://demo.metafox.app/api/v1/blog/approve/48694',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/blog/approve/48694"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Feature blog.
requires authentication
Example request:
curl --request PATCH \
"https://demo.metafox.app/api/v1/blog/feature/5" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"feature": "0"
}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
'https://demo.metafox.app/api/v1/blog/feature/5',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'feature' => '0',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/blog/feature/5"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"feature": "0"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
GET blog/form
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/blog/form" \
--header "Authorization: Bearer {accessToken}" \
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/blog/form',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/blog/form"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
GET blog/form/{id}
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/blog/form/7" \
--header "Authorization: Bearer {accessToken}" \
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/blog/form/7',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/blog/form/7"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Publish blog.
requires authentication
Example request:
curl --request PATCH \
"https://demo.metafox.app/api/v1/blog/publish/02" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
'https://demo.metafox.app/api/v1/blog/publish/02',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/blog/publish/02"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Get search form.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/blog/search-form" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/blog/search-form',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/blog/search-form"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Sponsor blog in feed.
requires authentication
Example request:
curl --request PATCH \
"https://demo.metafox.app/api/v1/blog/sponsor-in-feed/9" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"sponsor": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
'https://demo.metafox.app/api/v1/blog/sponsor-in-feed/9',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'sponsor' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/blog/sponsor-in-feed/9"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"sponsor": null
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Sponsor blog.
requires authentication
Example request:
curl --request PATCH \
"https://demo.metafox.app/api/v1/blog/sponsor/0" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"sponsor": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
'https://demo.metafox.app/api/v1/blog/sponsor/0',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'sponsor' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/blog/sponsor/0"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"sponsor": null
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
View Blog.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/blog/1" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/blog/1',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/blog/1"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Update blog.
requires authentication
Example request:
curl --request PUT \
"https://demo.metafox.app/api/v1/blog/0" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"categories": [
null
],
"tags": [
null
],
"published": false,
"attachments": [
null
]
}"
$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://demo.metafox.app/api/v1/blog/0',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'categories' => [
null,
],
'tags' => [
null,
],
'published' => false,
'attachments' => [
null,
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/blog/0"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"categories": [
null
],
"tags": [
null
],
"published": false,
"attachments": [
null
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Delete blog.
requires authentication
Example request:
curl --request DELETE \
"https://demo.metafox.app/api/v1/blog/370" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://demo.metafox.app/api/v1/blog/370',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/blog/370"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Captcha
App name: Captcha Version: 5.0.6 Author: phpFox Updated at: Jul 26, 2023
POST captcha/verify
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/captcha/verify"
$client = new \GuzzleHttp\Client();
$response = $client->post('https://demo.metafox.app/api/v1/captcha/verify');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/captcha/verify"
);
fetch(url, {
method: "POST",
}).then(response => response.json());
Received response:
Request failed with error:
POST image-captcha/refresh
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/image-captcha/refresh"
$client = new \GuzzleHttp\Client();
$response = $client->post('https://demo.metafox.app/api/v1/image-captcha/refresh');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/image-captcha/refresh"
);
fetch(url, {
method: "POST",
}).then(response => response.json());
Received response:
Request failed with error:
Chat
App name: Chat Version: 5.0.7 Author: phpFox Updated at: Jul 26, 2023
GET chat
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/chat"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/chat');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chat"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
POST chat
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/chat" \
--header "Content-Type: application/json" \
--data "{
"attachments": [
null
]
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/chat',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'attachments' => [
null,
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chat"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"attachments": [
null
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
GET chat-room
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/chat-room"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/chat-room');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chat-room"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
POST chat-room
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/chat-room" \
--header "Content-Type: application/json" \
--data "{
"member_ids": [
null
],
"users": [
null
]
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/chat-room',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'member_ids' => [
null,
],
'users' => [
null,
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chat-room"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"member_ids": [
null
],
"users": [
null
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
GET chat-room/addForm
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/chat-room/addForm"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/chat-room/addForm');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chat-room/addForm"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
PUT chat-room/mark-all-read
Example request:
curl --request PUT \
"https://demo.metafox.app/api/v1/chat-room/mark-all-read" \
--header "Content-Type: application/json" \
--data "{
"room_ids": [
null
]
}"
$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://demo.metafox.app/api/v1/chat-room/mark-all-read',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'room_ids' => [
null,
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chat-room/mark-all-read"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"room_ids": [
null
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
PUT chat-room/mark-read/{id}
Example request:
curl --request PUT \
"https://demo.metafox.app/api/v1/chat-room/mark-read/22"
$client = new \GuzzleHttp\Client();
$response = $client->put('https://demo.metafox.app/api/v1/chat-room/mark-read/22');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chat-room/mark-read/22"
);
fetch(url, {
method: "PUT",
}).then(response => response.json());
Received response:
Request failed with error:
GET chat-room/{id}
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/chat-room/442"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/chat-room/442');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chat-room/442"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
DELETE chat-room/{id}
Example request:
curl --request DELETE \
"https://demo.metafox.app/api/v1/chat-room/244813"
$client = new \GuzzleHttp\Client();
$response = $client->delete('https://demo.metafox.app/api/v1/chat-room/244813');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chat-room/244813"
);
fetch(url, {
method: "DELETE",
}).then(response => response.json());
Received response:
Request failed with error:
Display the specified resource.
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/chat/download/3"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/chat/download/3');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chat/download/3"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
PUT chat/react/{id}
Example request:
curl --request PUT \
"https://demo.metafox.app/api/v1/chat/react/812" \
--header "Content-Type: application/json" \
--data "{
"remove": true
}"
$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://demo.metafox.app/api/v1/chat/react/812',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'remove' => true,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chat/react/812"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"remove": true
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
PUT chat/remove/{id}
Example request:
curl --request PUT \
"https://demo.metafox.app/api/v1/chat/remove/6842068"
$client = new \GuzzleHttp\Client();
$response = $client->put('https://demo.metafox.app/api/v1/chat/remove/6842068');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chat/remove/6842068"
);
fetch(url, {
method: "PUT",
}).then(response => response.json());
Received response:
Request failed with error:
GET chat/{id}
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/chat/2"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/chat/2');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chat/2"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
PUT chat/{id}
Example request:
curl --request PUT \
"https://demo.metafox.app/api/v1/chat/9"
$client = new \GuzzleHttp\Client();
$response = $client->put('https://demo.metafox.app/api/v1/chat/9');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chat/9"
);
fetch(url, {
method: "PUT",
}).then(response => response.json());
Received response:
Request failed with error:
ChatPlus
App name: ChatPlus Version: 5.0.7 Author: phpFox Updated at: Jul 26, 2023
GET chatplus/can-create-direct-message/{type}/{id_from}/{id_to}
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/chatplus/can-create-direct-message///" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/chatplus/can-create-direct-message///',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chatplus/can-create-direct-message///"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
GET chatplus/export-users
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/chatplus/export-users" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/chatplus/export-users',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chatplus/export-users"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
GET chatplus/jobs
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/chatplus/jobs" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/chatplus/jobs',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chatplus/jobs"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
GET chatplus/me
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/chatplus/me" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/chatplus/me',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chatplus/me"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
GET chatplus/prefetch-users
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/chatplus/prefetch-users" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/chatplus/prefetch-users',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chatplus/prefetch-users"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
POST chatplus/rooms/upload/{room_id}
requires authentication
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/chatplus/rooms/upload/" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"userId": null,
"roomId": null,
"token": null,
"file": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/chatplus/rooms/upload/',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'userId' => null,
'roomId' => null,
'token' => null,
'file' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chatplus/rooms/upload/"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"userId": null,
"roomId": null,
"token": null,
"file": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
GET chatplus/settings
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/chatplus/settings" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/chatplus/settings',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chatplus/settings"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
GET chatplus/spotlight
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/chatplus/spotlight" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/chatplus/spotlight',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chatplus/spotlight"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
GET chatplus/user/{type}/{query}
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/chatplus/user//" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/chatplus/user//',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/chatplus/user//"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Comment
App name: Comment Version: 5.0.7 Author: phpFox Updated at: Jul 26, 2023
Browse comments.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/comment" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"item_id": null,
"item_type": null,
"excludes": [
null
]
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/comment',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'item_id' => null,
'item_type' => null,
'excludes' => [
null,
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/comment"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"item_id": null,
"item_type": null,
"excludes": [
null
]
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Create comment.
requires authentication
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/comment" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"item_id": null,
"item_type": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/comment',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'item_id' => null,
'item_type' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/comment"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"item_id": null,
"item_type": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
GET comment-lists
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/comment-lists" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"item_id": null,
"item_type": null,
"excludes": [
null
]
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/comment-lists',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'item_id' => null,
'item_type' => null,
'excludes' => [
null,
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/comment-lists"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"item_id": null,
"item_type": null,
"excludes": [
null
]
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
GET comment/download/{id}
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/comment/download/2" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/comment/download/2',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/comment/download/2"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
POST comment/hide
requires authentication
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/comment/hide" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"comment_id": null,
"is_hidden": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/comment/hide',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'comment_id' => null,
'is_hidden' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/comment/hide"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"comment_id": null,
"is_hidden": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
GET comment/history-edit/{id}
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/comment/history-edit/2" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/comment/history-edit/2',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/comment/history-edit/2"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
GET comment/preview/{id}
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/comment/preview/241" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/comment/preview/241',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/comment/preview/241"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
GET comment/related-comment
requires authentication
View comment.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/comment/6" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/comment/6',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/comment/6"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Update comment.
requires authentication
Example request:
curl --request PUT \
"https://demo.metafox.app/api/v1/comment/86" \
--header "Authorization: Bearer {accessToken}" \
$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://demo.metafox.app/api/v1/comment/86',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/comment/86"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Remove comment.
requires authentication
Example request:
curl --request DELETE \
"https://demo.metafox.app/api/v1/comment/3" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://demo.metafox.app/api/v1/comment/3',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/comment/3"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
PATCH comment/{id}/remove-preview
requires authentication
Example request:
curl --request PATCH \
"https://demo.metafox.app/api/v1/comment/2383272/remove-preview" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
'https://demo.metafox.app/api/v1/comment/2383272/remove-preview',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/comment/2383272/remove-preview"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Contact
App name: Contact Version: 5.0.6 Author: phpFox Updated at: Jul 26, 2023
Store item.
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/contact" \
--header "Content-Type: application/json" \
--data "{
"category_id": null,
"full_name": null,
"subject": null,
"email": null,
"message": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/contact',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'category_id' => null,
'full_name' => null,
'subject' => null,
'email' => null,
'message' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/contact"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"category_id": null,
"full_name": null,
"subject": null,
"email": null,
"message": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Core
App name: Core Version: 5.1.3 Author: phpFox Updated at: Jul 26, 2023
View frontend settings.
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/core/admin/settings/{revision?}"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/core/admin/settings/{revision?}');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/core/admin/settings/{revision?}"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
GET core/custom-privacy-option
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/core/custom-privacy-option"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/core/custom-privacy-option');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/core/custom-privacy-option"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
POST core/custom-privacy-option
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/core/custom-privacy-option" \
--header "Content-Type: application/json" \
--data "{
"name": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/core/custom-privacy-option',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'name' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/core/custom-privacy-option"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
GET core/custom-privacy-option/form
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/core/custom-privacy-option/form"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/core/custom-privacy-option/form');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/core/custom-privacy-option/form"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
GET core/form/{formName}/{id?}
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/core/form//21"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/core/form//21');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/core/form//21"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
View app settings.
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/core/mobile/action-settings"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/core/mobile/action-settings');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/core/mobile/action-settings"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
View app settings.
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/core/mobile/app-settings"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/core/mobile/app-settings');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/core/mobile/app-settings"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
GET core/mobile/form/{formName}/{id?}
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/core/mobile/form//3"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/core/mobile/form//3');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/core/mobile/form//3"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
View app settings.
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/core/mobile/settings/{revision?}"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/core/mobile/settings/{revision?}');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/core/mobile/settings/{revision?}"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
GET core/package/build/callback
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/core/package/build/callback" \
--header "Content-Type: application/json" \
--data "{
"buildId": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/core/package/build/callback',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'buildId' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/core/package/build/callback"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"buildId": null
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
View user badge status.
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/core/status"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/core/status');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/core/status"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
GET core/translation/{group}/{lang?}/{revision?}
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/core/translation///"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/core/translation///');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/core/translation///"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
Get canonical URL.
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/core/url-to-route" \
--header "Content-Type: application/json" \
--data "{
"url": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/core/url-to-route',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'url' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/core/url-to-route"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"url": null
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
View frontend settings.
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/core/web/action-settings"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/core/web/action-settings');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/core/web/action-settings"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
View frontend settings.
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/core/web/app-settings"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/core/web/app-settings');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/core/web/app-settings"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
View frontend settings.
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/core/web/settings/{revision?}"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/core/web/settings/{revision?}');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/core/web/settings/{revision?}"
);
fetch(url, {
method: "GET",
}).then(response => response.json());
Received response:
Request failed with error:
Upload single.
requires authentication
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/file" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"file": null,
"thumbnail_sizes": [
null
]
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/file',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'file' => null,
'thumbnail_sizes' => [
null,
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/file"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"file": null,
"thumbnail_sizes": [
null
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Upload multiple file.
requires authentication
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/files" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"thumbnail_sizes": [
null
],
"file": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/files',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'thumbnail_sizes' => [
null,
],
'file' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/files"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"thumbnail_sizes": [
null
],
"file": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
View link.
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/link/fetch" \
--header "Content-Type: application/json" \
--data "{
"link": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/link/fetch',
[
'headers' => [
'Content-Type' => 'application/json',
],
'json' => [
'link' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/link/fetch"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"link": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Event
App name: Event Version: 5.0.7 Author: phpFox Updated at: Jul 26, 2023
Display a listing of the resource.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/event" \
--header "Authorization: Bearer {accessToken}" \
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/event',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Store a newly created resource in storage.
requires authentication
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/event" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"name": null,
"attachments": [
null
],
"categories": [
null
],
"is_online": null,
"event_url": "https:\/\/boyer.net\/fugiat-iste-deserunt-ab-est-totam.html",
"start_time": "2020-07-20",
"end_time": "2082-07-17",
"privacy": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/event',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'name' => null,
'attachments' => [
null,
],
'categories' => [
null,
],
'is_online' => null,
'event_url' => 'https://boyer.net/fugiat-iste-deserunt-ab-est-totam.html',
'start_time' => '2020-07-20',
'end_time' => '2082-07-17',
'privacy' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": null,
"attachments": [
null
],
"categories": [
null
],
"is_online": null,
"event_url": "https:\/\/boyer.net\/fugiat-iste-deserunt-ab-est-totam.html",
"start_time": "2020-07-20",
"end_time": "2082-07-17",
"privacy": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Display a listing of the resource.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/event-category" \
--header "Authorization: Bearer {accessToken}" \
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/event-category',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event-category"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
POST event-code
requires authentication
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/event-code" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"event_id": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/event-code',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'event_id' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event-code"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"event_id": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
POST event-code/accept/{code}
requires authentication
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/event-code/accept/" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/event-code/accept/',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event-code/accept/"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
GET event-code/verify/{code}
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/event-code/verify/" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/event-code/verify/',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event-code/verify/"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
PUT event-host-invite
requires authentication
Example request:
curl --request PUT \
"https://demo.metafox.app/api/v1/event-host-invite" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"event_id": null,
"accept": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://demo.metafox.app/api/v1/event-host-invite',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'event_id' => null,
'accept' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event-host-invite"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"event_id": null,
"accept": null
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Remove the specified resource from storage.
requires authentication
Example request:
curl --request DELETE \
"https://demo.metafox.app/api/v1/event-host-invite" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"event_id": null,
"user_id": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://demo.metafox.app/api/v1/event-host-invite',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'event_id' => null,
'user_id' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event-host-invite"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"event_id": null,
"user_id": null
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
GET event-host-invite
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/event-host-invite" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"event_id": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/event-host-invite',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'event_id' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event-host-invite"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"event_id": null
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Store a newly created resource in storage.
requires authentication
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/event-host-invite" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"event_id": null,
"user_ids": [
null
],
"users": [
null
]
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/event-host-invite',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'event_id' => null,
'user_ids' => [
null,
],
'users' => [
null,
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event-host-invite"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"event_id": null,
"user_ids": [
null
],
"users": [
null
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
PUT event-invite
requires authentication
Example request:
curl --request PUT \
"https://demo.metafox.app/api/v1/event-invite" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"event_id": null,
"accept": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://demo.metafox.app/api/v1/event-invite',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'event_id' => null,
'accept' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event-invite"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"event_id": null,
"accept": null
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Remove the specified resource from storage.
requires authentication
Example request:
curl --request DELETE \
"https://demo.metafox.app/api/v1/event-invite" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"event_id": null,
"user_id": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://demo.metafox.app/api/v1/event-invite',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'event_id' => null,
'user_id' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event-invite"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"event_id": null,
"user_id": null
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
GET event-invite
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/event-invite" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"event_id": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/event-invite',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'event_id' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event-invite"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"event_id": null
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Store a newly created resource in storage.
requires authentication
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/event-invite" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"event_id": null,
"user_ids": [
null
],
"users": [
null
]
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/event-invite',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'event_id' => null,
'user_ids' => [
null,
],
'users' => [
null,
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event-invite"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"event_id": null,
"user_ids": [
null
],
"users": [
null
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Display a listing of the resource.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/event-member" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"event_id": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/event-member',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'event_id' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event-member"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"event_id": null
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Store a newly created resource in storage.
requires authentication
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/event-member" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"event_id": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/event-member',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'event_id' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event-member"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"event_id": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
DELETE event-member/host
requires authentication
Example request:
curl --request DELETE \
"https://demo.metafox.app/api/v1/event-member/host" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"event_id": null,
"user_id": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://demo.metafox.app/api/v1/event-member/host',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'event_id' => null,
'user_id' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event-member/host"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"event_id": null,
"user_id": null
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
PUT event-member/interest/{id}
requires authentication
Example request:
curl --request PUT \
"https://demo.metafox.app/api/v1/event-member/interest/7" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"interest": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://demo.metafox.app/api/v1/event-member/interest/7',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'interest' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event-member/interest/7"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"interest": null
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
DELETE event-member/member
requires authentication
Example request:
curl --request DELETE \
"https://demo.metafox.app/api/v1/event-member/member" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"event_id": null,
"user_id": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://demo.metafox.app/api/v1/event-member/member',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'event_id' => null,
'user_id' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event-member/member"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"event_id": null,
"user_id": null
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Remove the specified resource from storage.
requires authentication
Example request:
curl --request DELETE \
"https://demo.metafox.app/api/v1/event-member/1" \
--header "Authorization: Bearer {accessToken}" \
$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://demo.metafox.app/api/v1/event-member/1',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event-member/1"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
PATCH event/approve/{id}
requires authentication
Example request:
curl --request PATCH \
"https://demo.metafox.app/api/v1/event/approve/98" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
'https://demo.metafox.app/api/v1/event/approve/98',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event/approve/98"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
PATCH event/feature/{id}
requires authentication
Example request:
curl --request PATCH \
"https://demo.metafox.app/api/v1/event/feature/596" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"feature": "1"
}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
'https://demo.metafox.app/api/v1/event/feature/596',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'feature' => '1',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event/feature/596"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"feature": "1"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Display a listing of the resource.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/event/setting/form/9048" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/event/setting/form/9048',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event/setting/form/9048"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
PUT event/setting/{id}
requires authentication
Example request:
curl --request PUT \
"https://demo.metafox.app/api/v1/event/setting/1" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"pending_mode": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->put(
'https://demo.metafox.app/api/v1/event/setting/1',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'pending_mode' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event/setting/1"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"pending_mode": null
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Sponsor event in feed.
requires authentication
Example request:
curl --request PATCH \
"https://demo.metafox.app/api/v1/event/sponsor-in-feed/0930" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"sponsor": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
'https://demo.metafox.app/api/v1/event/sponsor-in-feed/0930',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'sponsor' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event/sponsor-in-feed/0930"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"sponsor": null
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
PATCH event/sponsor/{id}
requires authentication
Example request:
curl --request PATCH \
"https://demo.metafox.app/api/v1/event/sponsor/23435" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"sponsor": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
'https://demo.metafox.app/api/v1/event/sponsor/23435',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'sponsor' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event/sponsor/23435"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"sponsor": null
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Display the specified resource.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/event/114" \
--header "Authorization: Bearer {accessToken}" \
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/event/114',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event/114"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Remove the specified resource from storage.
requires authentication
Example request:
curl --request DELETE \
"https://demo.metafox.app/api/v1/event/838270" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://demo.metafox.app/api/v1/event/838270',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event/838270"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
POST event/{id}/mass-email
requires authentication
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/event/346123/mass-email" \
--header "Authorization: Bearer {accessToken}" \
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/event/346123/mass-email',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event/346123/mass-email"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
GET event/{id}/stats
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/event/38/stats" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/event/38/stats',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/event/38/stats"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Feed
App name: Feed Version: 5.0.7 Author: phpFox Updated at: Jul 26, 2023
Browse feed item.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/feed" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"related_comment_friend_only": "1",
"sponsored_feed_ids": [
null
]
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/feed',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'related_comment_friend_only' => '1',
'sponsored_feed_ids' => [
null,
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/feed"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"related_comment_friend_only": "1",
"sponsored_feed_ids": [
null
]
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Create feed.
requires authentication
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/feed" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"post_type": null,
"tagged_friends": [
null
]
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/feed',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'post_type' => null,
'tagged_friends' => [
null,
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/feed"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"post_type": null,
"tagged_friends": [
null
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
PATCH feed/allow-preview/{id}
requires authentication
Example request:
curl --request PATCH \
"https://demo.metafox.app/api/v1/feed/allow-preview/3" \
--header "Authorization: Bearer {accessToken}" \
--header "Content-Type: application/json" \
--data "{
"is_allowed": null
}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
'https://demo.metafox.app/api/v1/feed/allow-preview/3',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
'Content-Type' => 'application/json',
],
'json' => [
'is_allowed' => null,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/feed/allow-preview/3"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"is_allowed": null
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Approve pending post.
requires authentication
Example request:
curl --request PATCH \
"https://demo.metafox.app/api/v1/feed/approve/0" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
'https://demo.metafox.app/api/v1/feed/approve/0',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/feed/approve/0"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
PATCH feed/archive/{id}
requires authentication
Example request:
curl --request PATCH \
"https://demo.metafox.app/api/v1/feed/archive/0" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
'https://demo.metafox.app/api/v1/feed/archive/0',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/feed/archive/0"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
GET feed/check-new
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/feed/check-new" \
--header "Authorization: Bearer {accessToken}" \
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/feed/check-new',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/feed/check-new"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
hot fix because of /api/v1/feed/create crashed.
requires authentication
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/feed/create" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/feed/create',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/feed/create"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
PATCH feed/decline/{id}
requires authentication
Example request:
curl --request PATCH \
"https://demo.metafox.app/api/v1/feed/decline/886017" \
--header "Authorization: Bearer {accessToken}" \
$client = new \GuzzleHttp\Client();
$response = $client->patch(
'https://demo.metafox.app/api/v1/feed/decline/886017',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/feed/decline/886017"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Get status for edit.
requires authentication
GET: feed/edit/{id}
Example request:
curl --request GET \
--get "https://demo.metafox.app/api/v1/feed/edit/5" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://demo.metafox.app/api/v1/feed/edit/5',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/feed/edit/5"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Browse snooze.
requires authentication
Remove snooze.
requires authentication
Hide a user.
requires authentication
POST: feed/hide-all/{id}
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/feed/hide-all/27267" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/feed/hide-all/27267',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/feed/hide-all/27267"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
UnHide a user.
requires authentication
DELETE: feed/hide-all/{id}
Example request:
curl --request DELETE \
"https://demo.metafox.app/api/v1/feed/hide-all/9654959" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://demo.metafox.app/api/v1/feed/hide-all/9654959',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/feed/hide-all/9654959"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Hide a feed.
requires authentication
Example request:
curl --request POST \
"https://demo.metafox.app/api/v1/feed/hide-feed/3912570" \
--header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://demo.metafox.app/api/v1/feed/hide-feed/3912570',
[
'headers' => [
'Authorization' => 'Bearer {accessToken}',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://demo.metafox.app/api/v1/feed/hide-feed/3912570"
);
const headers = {
"Authorization": "Bearer {accessToken}",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
Received response:
Request failed with error: