MENU navbar-image

Introduction

Version: v5.1.7 Updated: Dec 08, 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.1.1 Author: phpFox Updated at: Dec 26, 2023

Browse item

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/vel/activitypoint/conversion-request" \
    --header "Content-Type: application/json" \
    --data "{
    "status": "possimus",
    "from_date": "id",
    "to_date": "autem",
    "limit": 4,
    "id": 9
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/vel/activitypoint/conversion-request',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'status' => 'possimus',
            'from_date' => 'id',
            'to_date' => 'autem',
            'limit' => 4,
            'id' => 9,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/vel/activitypoint/conversion-request"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "status": "possimus",
    "from_date": "id",
    "to_date": "autem",
    "limit": 4,
    "id": 9
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/activitypoint/conversion-request

URL Parameters

ver  string  

Body Parameters

status  string optional  

from_date  string optional  

to_date  string optional  

limit  integer optional  

Must be at least 1. Must not be greater than 100.

id  integer optional  

GET api/{ver}/activitypoint/conversion-request/{id}

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/optio/activitypoint/conversion-request/971"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/optio/activitypoint/conversion-request/971');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/optio/activitypoint/conversion-request/971"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/activitypoint/conversion-request/{id}

URL Parameters

ver  string  

id  string  

The ID of the conversion request.

PATCH api/{ver}/activitypoint/conversion-request/{id}/cancel

Example request:
curl --request PATCH \
    "https://demo.metafox.app/api/v1/api/iure/activitypoint/conversion-request/8/cancel"
$client = new \GuzzleHttp\Client();
$response = $client->patch('https://demo.metafox.app/api/v1/api/iure/activitypoint/conversion-request/8/cancel');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/iure/activitypoint/conversion-request/8/cancel"
);

fetch(url, {
    method: "PATCH",
}).then(response => response.json());

Request      

PATCH api/{ver}/activitypoint/conversion-request/{id}/cancel

URL Parameters

ver  string  

id  string  

The ID of the conversion request.

Browse item.

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/accusamus/activitypoint/package?q=quidem" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "q": "quasi",
    "sort": "latest",
    "sort_type": "asc",
    "page": 5,
    "limit": 7
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/accusamus/activitypoint/package',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'query' => [
            'q'=> 'quidem',
        ],
        'json' => [
            'q' => 'quasi',
            'sort' => 'latest',
            'sort_type' => 'asc',
            'page' => 5,
            'limit' => 7,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/accusamus/activitypoint/package"
);

const params = {
    "q": "quidem",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "q": "quasi",
    "sort": "latest",
    "sort_type": "asc",
    "page": 5,
    "limit": 7
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/activitypoint/package

URL Parameters

ver  string  

Query Parameters

q  string optional  

search text

Body Parameters

q  string optional  

sort  string optional  

Must be one of recent, most_discussed, most_viewed, most_liked, or latest.

sort_type  string optional  

Must be one of desc or asc.

page  integer optional  

Must be at least 1.

limit  integer optional  

Browse item.

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/aliquid/activitypoint/package-transaction" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "q": "sequi",
    "status": "cumque",
    "from": "2023-12-26T03:47:58",
    "to": "2023-12-26T03:47:58",
    "sort": "most_discussed",
    "sort_type": "asc",
    "page": 44,
    "limit": 3
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/aliquid/activitypoint/package-transaction',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'q' => 'sequi',
            'status' => 'cumque',
            'from' => '2023-12-26T03:47:58',
            'to' => '2023-12-26T03:47:58',
            'sort' => 'most_discussed',
            'sort_type' => 'asc',
            'page' => 44,
            'limit' => 3,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/aliquid/activitypoint/package-transaction"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "q": "sequi",
    "status": "cumque",
    "from": "2023-12-26T03:47:58",
    "to": "2023-12-26T03:47:58",
    "sort": "most_discussed",
    "sort_type": "asc",
    "page": 44,
    "limit": 3
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/activitypoint/package-transaction

URL Parameters

ver  string  

Body Parameters

q  string optional  

status  string optional  

from  string optional  

Must be a valid date.

to  string optional  

Must be a valid date.

sort  string optional  

Must be one of recent, most_discussed, most_viewed, most_liked, or latest.

sort_type  string optional  

Must be one of desc or asc.

page  integer optional  

Must be at least 1.

limit  integer optional  

POST api/{ver}/activitypoint/package/purchase/{id}

requires authentication

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/fugit/activitypoint/package/purchase/1611" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "payment_gateway": 17
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/fugit/activitypoint/package/purchase/1611',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'payment_gateway' => 17,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/fugit/activitypoint/package/purchase/1611"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "payment_gateway": 17
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/activitypoint/package/purchase/{id}

URL Parameters

ver  string  

id  string  

The ID of the purchase.

Body Parameters

payment_gateway  integer  

View item.

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/est/activitypoint/package/46" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/est/activitypoint/package/46',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/est/activitypoint/package/46"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/{ver}/activitypoint/package/{id}

URL Parameters

ver  string  

id  string  

The ID of the package.

Browse item.

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/nulla/activitypoint/setting" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "sort": "most_viewed",
    "sort_type": "desc"
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/nulla/activitypoint/setting',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'sort' => 'most_viewed',
            'sort_type' => 'desc',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/nulla/activitypoint/setting"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "sort": "most_viewed",
    "sort_type": "desc"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/activitypoint/setting

URL Parameters

ver  string  

Body Parameters

sort  string optional  

Must be one of recent, most_discussed, most_viewed, most_liked, or latest.

sort_type  string optional  

Must be one of desc or asc.

View item.

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/non/activitypoint/statistic/5" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/non/activitypoint/statistic/5',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/non/activitypoint/statistic/5"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/{ver}/activitypoint/statistic/{id}

URL Parameters

ver  string  

id  string  

The ID of the statistic.

Browse item.

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/similique/activitypoint/transaction" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "type": 11,
    "from": "2023-12-26T03:47:58",
    "to": "2023-12-26T03:47:58",
    "sort": "most_viewed",
    "sort_type": "asc",
    "page": 82,
    "limit": 2
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/similique/activitypoint/transaction',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'type' => 11,
            'from' => '2023-12-26T03:47:58',
            'to' => '2023-12-26T03:47:58',
            'sort' => 'most_viewed',
            'sort_type' => 'asc',
            'page' => 82,
            'limit' => 2,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/similique/activitypoint/transaction"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "type": 11,
    "from": "2023-12-26T03:47:58",
    "to": "2023-12-26T03:47:58",
    "sort": "most_viewed",
    "sort_type": "asc",
    "page": 82,
    "limit": 2
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/activitypoint/transaction

URL Parameters

ver  string  

Body Parameters

type  integer optional  

from  string optional  

Must be a valid date.

to  string optional  

Must be a valid date.

sort  string optional  

Must be one of recent, most_discussed, most_viewed, most_liked, or latest.

sort_type  string optional  

Must be one of desc or asc.

page  integer optional  

Must be at least 1.

limit  integer optional  

View item.

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/tempore/activitypoint/transaction/9" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/tempore/activitypoint/transaction/9',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/tempore/activitypoint/transaction/9"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/{ver}/activitypoint/transaction/{id}

URL Parameters

ver  string  

id  string  

The ID of the transaction.

Advertise

App name: Advertise Version: 5.0.6 Author: phpFox Updated at: Dec 26, 2023

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/vel/advertise/advertise" \
    --header "Content-Type: application/json" \
    --data "{
    "placement_id": 125.893949,
    "start_date": "ea",
    "end_date": "facilis",
    "status": "vel",
    "page": 36,
    "limit": 5.791684
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/vel/advertise/advertise',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'placement_id' => 125.893949,
            'start_date' => 'ea',
            'end_date' => 'facilis',
            'status' => 'vel',
            'page' => 36,
            'limit' => 5.791684,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/vel/advertise/advertise"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "placement_id": 125.893949,
    "start_date": "ea",
    "end_date": "facilis",
    "status": "vel",
    "page": 36,
    "limit": 5.791684
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/advertise/advertise

URL Parameters

ver  string  

Body Parameters

placement_id  number optional  

view  string optional  

start_date  string optional  

end_date  string optional  

status  string optional  

page  number optional  

Must be at least 1.

limit  number optional  

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/consequatur/advertise/advertise" \
    --header "Content-Type: application/json" \
    --data "{
    "placement_id": 4.10666559,
    "image": {
        "status": "ut",
        "temp_file": 5.4284
    },
    "url": "http:\/\/bode.com\/",
    "image_tooltip": "rvifxlph",
    "html_title": "ejljdxgn",
    "html_description": "bxhsrgyskmugldpvoshmjqt",
    "title": "klbvwxlldm",
    "age_from": 3,
    "languages": [
        "recusandae"
    ],
    "start_date": "2023-12-26T03:47:58",
    "creation_type": "laboriosam"
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/consequatur/advertise/advertise',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'placement_id' => 4.10666559,
            'image' => [
                'status' => 'ut',
                'temp_file' => 5.4284,
            ],
            'url' => 'http://bode.com/',
            'image_tooltip' => 'rvifxlph',
            'html_title' => 'ejljdxgn',
            'html_description' => 'bxhsrgyskmugldpvoshmjqt',
            'title' => 'klbvwxlldm',
            'age_from' => 3,
            'languages' => [
                'recusandae',
            ],
            'start_date' => '2023-12-26T03:47:58',
            'creation_type' => 'laboriosam',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/consequatur/advertise/advertise"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "placement_id": 4.10666559,
    "image": {
        "status": "ut",
        "temp_file": 5.4284
    },
    "url": "http:\/\/bode.com\/",
    "image_tooltip": "rvifxlph",
    "html_title": "ejljdxgn",
    "html_description": "bxhsrgyskmugldpvoshmjqt",
    "title": "klbvwxlldm",
    "age_from": 3,
    "languages": [
        "recusandae"
    ],
    "start_date": "2023-12-26T03:47:58",
    "creation_type": "laboriosam"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/advertise/advertise

URL Parameters

ver  string  

Body Parameters

placement_id  number  

image  object  

image.status  string optional  

This field is required when image.temp_file is present.

image.temp_file  number optional  

This field is required when image.id is 0.

url  string  

Must be a valid URL.

image_tooltip  string optional  

Must not be greater than 255 characters.

html_title  string optional  

This field is required when creation_type is html. Must not be greater than 25 characters.

html_description  string optional  

Must not be greater than 135 characters.

title  string  

Must not be greater than 255 characters.

total_click  string optional  

total_impression  string optional  

genders  string[] optional  

This field is required when genders is present.

age_from  integer optional  

Must be at least 1.

age_to  string optional  

languages  string[] optional  

This field is required when languages is present.

is_active  string optional  

start_date  string  

Must be a valid date.

end_date  string optional  

creation_type  string  

location  object optional  

Must have at least {min, plural, =1 {# item} other {# items}}.

Example request:
curl --request PATCH \
    "https://demo.metafox.app/api/v1/api/sit/advertise/advertise/active/5547613"
$client = new \GuzzleHttp\Client();
$response = $client->patch('https://demo.metafox.app/api/v1/api/sit/advertise/advertise/active/5547613');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/sit/advertise/advertise/active/5547613"
);

fetch(url, {
    method: "PATCH",
}).then(response => response.json());

Request      

PATCH api/{ver}/advertise/advertise/active/{id}

URL Parameters

ver  string  

id  string  

The ID of the active.

Example request:
curl --request PATCH \
    "https://demo.metafox.app/api/v1/api/molestiae/advertise/advertise/hide/2"
$client = new \GuzzleHttp\Client();
$response = $client->patch('https://demo.metafox.app/api/v1/api/molestiae/advertise/advertise/hide/2');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/molestiae/advertise/advertise/hide/2"
);

fetch(url, {
    method: "PATCH",
}).then(response => response.json());

Request      

PATCH api/{ver}/advertise/advertise/hide/{id}

URL Parameters

ver  string  

id  string  

The ID of the hide.

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/dolores/advertise/advertise/report/59" \
    --header "Content-Type: application/json" \
    --data "{
    "report_type": "et",
    "view": "consequuntur",
    "start_date_month": "ab",
    "end_date_month": "culpa",
    "start_date_week": "perferendis",
    "end_date_week": "qui",
    "start_date_day": "sequi",
    "end_date_day": "repellat"
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/dolores/advertise/advertise/report/59',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'report_type' => 'et',
            'view' => 'consequuntur',
            'start_date_month' => 'ab',
            'end_date_month' => 'culpa',
            'start_date_week' => 'perferendis',
            'end_date_week' => 'qui',
            'start_date_day' => 'sequi',
            'end_date_day' => 'repellat',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/dolores/advertise/advertise/report/59"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "report_type": "et",
    "view": "consequuntur",
    "start_date_month": "ab",
    "end_date_month": "culpa",
    "start_date_week": "perferendis",
    "end_date_week": "qui",
    "start_date_day": "sequi",
    "end_date_day": "repellat"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/advertise/advertise/report/{id}

URL Parameters

ver  string  

id  string  

The ID of the report.

Body Parameters

report_type  string  

view  string  

start_date_month  string optional  

end_date_month  string optional  

start_date_week  string optional  

end_date_week  string optional  

start_date_day  string optional  

end_date_day  string optional  

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/eos/advertise/advertise/show" \
    --header "Content-Type: application/json" \
    --data "{
    "placement_id": 288.031187,
    "location": "suscipit"
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/eos/advertise/advertise/show',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'placement_id' => 288.031187,
            'location' => 'suscipit',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/eos/advertise/advertise/show"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "placement_id": 288.031187,
    "location": "suscipit"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/advertise/advertise/show

URL Parameters

ver  string  

Body Parameters

placement_id  number  

location  string optional  

Example request:
curl --request PATCH \
    "https://demo.metafox.app/api/v1/api/fugit/advertise/advertise/total/32" \
    --header "Content-Type: application/json" \
    --data "{
    "type": "velit"
}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
    'https://demo.metafox.app/api/v1/api/fugit/advertise/advertise/total/32',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'type' => 'velit',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/fugit/advertise/advertise/total/32"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "type": "velit"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/{ver}/advertise/advertise/total/{id}

URL Parameters

ver  string  

id  string  

The ID of the total.

Body Parameters

type  string  

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/qui/advertise/advertise/11838870"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/qui/advertise/advertise/11838870');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/qui/advertise/advertise/11838870"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/advertise/advertise/{id}

URL Parameters

ver  string  

id  string  

The ID of the advertise.

Example request:
curl --request PUT \
    "https://demo.metafox.app/api/v1/api/ad/advertise/advertise/7946314" \
    --header "Content-Type: application/json" \
    --data "{
    "title": "kcmufaxskcs",
    "age_from": 19,
    "age_to": 61613,
    "languages": [
        "fugit"
    ]
}"
$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://demo.metafox.app/api/v1/api/ad/advertise/advertise/7946314',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'title' => 'kcmufaxskcs',
            'age_from' => 19,
            'age_to' => 61613.0,
            'languages' => [
                'fugit',
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/ad/advertise/advertise/7946314"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "kcmufaxskcs",
    "age_from": 19,
    "age_to": 61613,
    "languages": [
        "fugit"
    ]
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/{ver}/advertise/advertise/{id}

PATCH api/{ver}/advertise/advertise/{id}

URL Parameters

ver  string  

id  string  

The ID of the advertise.

Body Parameters

title  string  

Must not be greater than 255 characters.

genders  string[] optional  

This field is required when genders is present.

age_from  number optional  

Must be at least 1.

age_to  number optional  

languages  string[] optional  

This field is required when languages is present.

location  object optional  

Must have at least {min, plural, =1 {# item} other {# items}}.

Example request:
curl --request DELETE \
    "https://demo.metafox.app/api/v1/api/numquam/advertise/advertise/80"
$client = new \GuzzleHttp\Client();
$response = $client->delete('https://demo.metafox.app/api/v1/api/numquam/advertise/advertise/80');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/numquam/advertise/advertise/80"
);

fetch(url, {
    method: "DELETE",
}).then(response => response.json());

Request      

DELETE api/{ver}/advertise/advertise/{id}

URL Parameters

ver  string  

id  string  

The ID of the advertise.

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/amet/advertise/invoice" \
    --header "Content-Type: application/json" \
    --data "{
    "start_date": "autem",
    "end_date": "quam",
    "status": "consequatur",
    "page": 26,
    "limit": 839.1
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/amet/advertise/invoice',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'start_date' => 'autem',
            'end_date' => 'quam',
            'status' => 'consequatur',
            'page' => 26,
            'limit' => 839.1,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/amet/advertise/invoice"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "start_date": "autem",
    "end_date": "quam",
    "status": "consequatur",
    "page": 26,
    "limit": 839.1
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/advertise/invoice

URL Parameters

ver  string  

Body Parameters

start_date  string optional  

end_date  string optional  

status  string optional  

page  number optional  

Must be at least 1.

limit  number optional  

Example request:
curl --request PATCH \
    "https://demo.metafox.app/api/v1/api/nulla/advertise/invoice/cancel/4"
$client = new \GuzzleHttp\Client();
$response = $client->patch('https://demo.metafox.app/api/v1/api/nulla/advertise/invoice/cancel/4');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/nulla/advertise/invoice/cancel/4"
);

fetch(url, {
    method: "PATCH",
}).then(response => response.json());

Request      

PATCH api/{ver}/advertise/invoice/cancel/{id}

URL Parameters

ver  string  

id  string  

The ID of the cancel.

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/blanditiis/advertise/invoice/change" \
    --header "Content-Type: application/json" \
    --data "{
    "invoice_id": 45031522.7,
    "item_id": 65,
    "item_type": "voluptatem",
    "payment_gateway": 99502.3
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/blanditiis/advertise/invoice/change',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'invoice_id' => 45031522.7,
            'item_id' => 65,
            'item_type' => 'voluptatem',
            'payment_gateway' => 99502.3,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/blanditiis/advertise/invoice/change"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "invoice_id": 45031522.7,
    "item_id": 65,
    "item_type": "voluptatem",
    "payment_gateway": 99502.3
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/advertise/invoice/change

URL Parameters

ver  string  

Body Parameters

invoice_id  number optional  

item_id  number  

Must be at least 1.

item_type  string  

payment_gateway  number optional  

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/qui/advertise/invoice/payment" \
    --header "Content-Type: application/json" \
    --data "{
    "invoice_id": 174106500.5,
    "item_id": 86,
    "item_type": "amet",
    "payment_gateway": 133910.0030393
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/qui/advertise/invoice/payment',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'invoice_id' => 174106500.5,
            'item_id' => 86,
            'item_type' => 'amet',
            'payment_gateway' => 133910.0030393,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/qui/advertise/invoice/payment"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "invoice_id": 174106500.5,
    "item_id": 86,
    "item_type": "amet",
    "payment_gateway": 133910.0030393
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/advertise/invoice/payment

URL Parameters

ver  string  

Body Parameters

invoice_id  number optional  

item_id  number  

Must be at least 1.

item_type  string  

payment_gateway  number optional  

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/saepe/advertise/sponsor" \
    --header "Content-Type: application/json" \
    --data "{
    "start_date": "eos",
    "end_date": "perferendis",
    "status": "molestiae",
    "page": 42,
    "limit": 136.759
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/saepe/advertise/sponsor',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'start_date' => 'eos',
            'end_date' => 'perferendis',
            'status' => 'molestiae',
            'page' => 42,
            'limit' => 136.759,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/saepe/advertise/sponsor"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "start_date": "eos",
    "end_date": "perferendis",
    "status": "molestiae",
    "page": 42,
    "limit": 136.759
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/advertise/sponsor

URL Parameters

ver  string  

Body Parameters

start_date  string optional  

end_date  string optional  

status  string optional  

page  number optional  

Must be at least 1.

limit  number optional  

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/ea/advertise/sponsor" \
    --header "Content-Type: application/json" \
    --data "{
    "title": "ypvlfzulx",
    "age_from": 56,
    "languages": [
        "ratione"
    ],
    "start_date": "2023-12-26T03:47:58",
    "item_type": "expedita",
    "item_id": 13,
    "total_impression": 98
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/ea/advertise/sponsor',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'title' => 'ypvlfzulx',
            'age_from' => 56,
            'languages' => [
                'ratione',
            ],
            'start_date' => '2023-12-26T03:47:58',
            'item_type' => 'expedita',
            'item_id' => 13,
            'total_impression' => 98,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/ea/advertise/sponsor"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "ypvlfzulx",
    "age_from": 56,
    "languages": [
        "ratione"
    ],
    "start_date": "2023-12-26T03:47:58",
    "item_type": "expedita",
    "item_id": 13,
    "total_impression": 98
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/advertise/sponsor

URL Parameters

ver  string  

Body Parameters

title  string  

Must not be greater than 255 characters.

genders  string[] optional  

This field is required when genders is present.

age_from  integer optional  

Must be at least 1.

age_to  string optional  

languages  string[] optional  

This field is required when languages is present.

location  object optional  

Must have at least {min, plural, =1 {# item} other {# items}}.

start_date  string  

Must be a valid date.

end_date  string optional  

item_type  string  

item_id  integer  

total_impression  integer  

Must be at least 100.

Example request:
curl --request PATCH \
    "https://demo.metafox.app/api/v1/api/fugiat/advertise/sponsor/active/5213431"
$client = new \GuzzleHttp\Client();
$response = $client->patch('https://demo.metafox.app/api/v1/api/fugiat/advertise/sponsor/active/5213431');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/fugiat/advertise/sponsor/active/5213431"
);

fetch(url, {
    method: "PATCH",
}).then(response => response.json());

Request      

PATCH api/{ver}/advertise/sponsor/active/{id}

URL Parameters

ver  string  

id  string  

The ID of the active.

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/eius/advertise/sponsor/feed" \
    --header "Content-Type: application/json" \
    --data "{
    "title": "ykvuukzrgmhaip",
    "age_from": 70,
    "languages": [
        "dolorem"
    ],
    "start_date": "2023-12-26T03:47:58",
    "item_type": "ut",
    "item_id": 4,
    "total_impression": 100
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/eius/advertise/sponsor/feed',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'title' => 'ykvuukzrgmhaip',
            'age_from' => 70,
            'languages' => [
                'dolorem',
            ],
            'start_date' => '2023-12-26T03:47:58',
            'item_type' => 'ut',
            'item_id' => 4,
            'total_impression' => 100,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/eius/advertise/sponsor/feed"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "ykvuukzrgmhaip",
    "age_from": 70,
    "languages": [
        "dolorem"
    ],
    "start_date": "2023-12-26T03:47:58",
    "item_type": "ut",
    "item_id": 4,
    "total_impression": 100
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/advertise/sponsor/feed

URL Parameters

ver  string  

Body Parameters

title  string  

Must not be greater than 255 characters.

genders  string[] optional  

This field is required when genders is present.

age_from  integer optional  

Must be at least 1.

age_to  string optional  

languages  string[] optional  

This field is required when languages is present.

location  object optional  

Must have at least {min, plural, =1 {# item} other {# items}}.

start_date  string  

Must be a valid date.

end_date  string optional  

item_type  string  

item_id  integer  

total_impression  integer  

Must be at least 100.

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/vel/advertise/sponsor/form/feed/repudiandae/est"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/vel/advertise/sponsor/form/feed/repudiandae/est');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/vel/advertise/sponsor/form/feed/repudiandae/est"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/advertise/sponsor/form/feed/{itemType}/{itemId}

URL Parameters

ver  string  

itemType  string  

itemId  string  

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/iusto/advertise/sponsor/form/quod/rerum"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/iusto/advertise/sponsor/form/quod/rerum');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/iusto/advertise/sponsor/form/quod/rerum"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/advertise/sponsor/form/{itemType}/{itemId}

URL Parameters

ver  string  

itemType  string  

itemId  string  

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/quis/advertise/sponsor/26"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/quis/advertise/sponsor/26');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/quis/advertise/sponsor/26"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/advertise/sponsor/{id}

URL Parameters

ver  string  

id  string  

The ID of the sponsor.

Example request:
curl --request PUT \
    "https://demo.metafox.app/api/v1/api/beatae/advertise/sponsor/867561" \
    --header "Content-Type: application/json" \
    --data "{
    "title": "ltegcgyvpkoyrmzzadbyg",
    "age_from": 20,
    "languages": [
        "eveniet"
    ]
}"
$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://demo.metafox.app/api/v1/api/beatae/advertise/sponsor/867561',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'title' => 'ltegcgyvpkoyrmzzadbyg',
            'age_from' => 20,
            'languages' => [
                'eveniet',
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/beatae/advertise/sponsor/867561"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "ltegcgyvpkoyrmzzadbyg",
    "age_from": 20,
    "languages": [
        "eveniet"
    ]
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/{ver}/advertise/sponsor/{id}

PATCH api/{ver}/advertise/sponsor/{id}

URL Parameters

ver  string  

id  string  

The ID of the sponsor.

Body Parameters

title  string  

Must not be greater than 255 characters.

genders  string[] optional  

This field is required when genders is present.

age_from  integer optional  

Must be at least 1.

age_to  string optional  

languages  string[] optional  

This field is required when languages is present.

location  object optional  

Must have at least {min, plural, =1 {# item} other {# items}}.

Example request:
curl --request DELETE \
    "https://demo.metafox.app/api/v1/api/aut/advertise/sponsor/4"
$client = new \GuzzleHttp\Client();
$response = $client->delete('https://demo.metafox.app/api/v1/api/aut/advertise/sponsor/4');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/aut/advertise/sponsor/4"
);

fetch(url, {
    method: "DELETE",
}).then(response => response.json());

Request      

DELETE api/{ver}/advertise/sponsor/{id}

URL Parameters

ver  string  

id  string  

The ID of the sponsor.

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/blanditiis/sponsor/total/click" \
    --header "Content-Type: application/json" \
    --data "{
    "item_type": "voluptatibus",
    "item_ids": []
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/blanditiis/sponsor/total/click',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'item_type' => 'voluptatibus',
            'item_ids' => [],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/blanditiis/sponsor/total/click"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "item_type": "voluptatibus",
    "item_ids": []
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/sponsor/total/click

URL Parameters

ver  string  

Body Parameters

item_type  string  

item_ids  object  

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/dolore/sponsor/total/view" \
    --header "Content-Type: application/json" \
    --data "{
    "item_type": "animi",
    "item_ids": []
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/dolore/sponsor/total/view',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'item_type' => 'animi',
            'item_ids' => [],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/dolore/sponsor/total/view"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "item_type": "animi",
    "item_ids": []
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/sponsor/total/view

URL Parameters

ver  string  

Body Parameters

item_type  string  

item_ids  object  

Announcement

App name: Announcement Version: 5.0.11 Author: phpFox Updated at: Dec 26, 2023

Browse announcement.

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/itaque/announcement?limit=10" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/itaque/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/api/itaque/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());

Request      

GET api/{ver}/announcement

URL Parameters

ver  string  

Query Parameters

limit  integer optional  

The items to return.

Browse announcement.

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/neque/announcement/view?announcement_id=170.22&limit=10" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/neque/announcement/view',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
        'query' => [
            'announcement_id'=> '170.22',
            'limit'=> '10',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/neque/announcement/view"
);

const params = {
    "announcement_id": "170.22",
    "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());

Request      

GET api/{ver}/announcement/view

URL Parameters

ver  string  

Query Parameters

announcement_id  number  

limit  integer optional  

The items to return.

Hide announcement.

requires authentication

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/repudiandae/announcement/view" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "announcement_id": 73
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/repudiandae/announcement/view',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'announcement_id' => 73,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/repudiandae/announcement/view"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "announcement_id": 73
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/announcement/view

URL Parameters

ver  string  

Body Parameters

announcement_id  number  

Must be at least 1.

View announcement.

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/rerum/announcement/23322" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/rerum/announcement/23322',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/rerum/announcement/23322"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/{ver}/announcement/{id}

URL Parameters

ver  string  

id  string  

The ID of the announcement.

Attachments

App name: Attachments Version: 5.0.2 Author: phpFox Updated at: Dec 26, 2023

Upload attachment.

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/explicabo/attachment" \
    --header "Content-Type: multipart/form-data" \
    --form "storage_id=aliquid" \
    --form "item_type=dicta" \
    --form "upload_type=qui" \
    --form "file=@/tmp/phpwYJTtw" 
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/explicabo/attachment',
    [
        'headers' => [
            'Content-Type' => 'multipart/form-data',
        ],
        'multipart' => [
            [
                'name' => 'storage_id',
                'contents' => 'aliquid'
            ],
            [
                'name' => 'item_type',
                'contents' => 'dicta'
            ],
            [
                'name' => 'upload_type',
                'contents' => 'qui'
            ],
            [
                'name' => 'file',
                'contents' => fopen('/tmp/phpwYJTtw', 'r')
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/explicabo/attachment"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('storage_id', 'aliquid');
body.append('item_type', 'dicta');
body.append('upload_type', 'qui');
body.append('file', document.querySelector('input[name="file"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/{ver}/attachment

URL Parameters

ver  string  

Body Parameters

storage_id  string optional  

file  file  

Must be a file. Must not be greater than 8192 kilobytes.

item_type  string  

upload_type  string optional  

Allow downloading resource.

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/ea/attachment/download/7073"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/ea/attachment/download/7073');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/ea/attachment/download/7073"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/attachment/download/{id}

URL Parameters

ver  string  

id  string  

The ID of the download.

Authorization

App name: Authorization Version: 5.0.9 Author: phpFox Updated at: Dec 26, 2023

Store item.

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/quidem/authorization/device" \
    --header "Content-Type: application/json" \
    --data "{
    "device_token": "porro",
    "device_id": "ad",
    "device_uid": "cum",
    "token_source": "expedita",
    "platform": "eligendi",
    "platform_version": "accusamus"
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/quidem/authorization/device',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'device_token' => 'porro',
            'device_id' => 'ad',
            'device_uid' => 'cum',
            'token_source' => 'expedita',
            'platform' => 'eligendi',
            'platform_version' => 'accusamus',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/quidem/authorization/device"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "device_token": "porro",
    "device_id": "ad",
    "device_uid": "cum",
    "token_source": "expedita",
    "platform": "eligendi",
    "platform_version": "accusamus"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/authorization/device

URL Parameters

ver  string  

Body Parameters

device_token  string  

device_id  string  

device_uid  string optional  

token_source  string  

platform  string optional  

platform_version  string optional  

extra  object optional  

Blog

App name: Blog Version: 5.0.10 Author: phpFox Updated at: Dec 26, 2023

Browse blog.

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/iste/blog?q=et&view=my_pending&sort=most_liked&sort_type=asc&when=this_month&category_id=15&user_id=0&owner_id=5&page=21&limit=18" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/iste/blog',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
        'query' => [
            'q'=> 'et',
            'view'=> 'my_pending',
            'sort'=> 'most_liked',
            'sort_type'=> 'asc',
            'when'=> 'this_month',
            'category_id'=> '15',
            'user_id'=> '0',
            'owner_id'=> '5',
            'page'=> '21',
            'limit'=> '18',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/iste/blog"
);

const params = {
    "q": "et",
    "view": "my_pending",
    "sort": "most_liked",
    "sort_type": "asc",
    "when": "this_month",
    "category_id": "15",
    "user_id": "0",
    "owner_id": "5",
    "page": "21",
    "limit": "18",
};
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());

Request      

GET api/{ver}/blog

URL Parameters

ver  string  

Query Parameters

q  string optional  

view  string optional  

Must be one of all, my, pending, feature, sponsor, search, my_pending, draft, or friend.

sort  string optional  

Must be one of recent, most_discussed, most_viewed, most_liked, or latest.

sort_type  string optional  

Must be one of desc or asc.

when  string optional  

Must be one of all, this_month, this_week, or today.

category_id  integer optional  

user_id  integer optional  

The profile id to filter.

owner_id  integer optional  

page  integer optional  

Must be at least 1.

limit  integer optional  

is_featured  string optional  

Create blog.

requires authentication

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/est/blog" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "title": "et",
    "categories": [
        1725.7
    ],
    "owner_id": 3884.9070464,
    "file": {
        "temp_file": 2928.209170892
    },
    "text": "dignissimos",
    "draft": 339259139.29,
    "tags": [
        "cupiditate"
    ],
    "privacy": "praesentium",
    "attachments": [
        "et"
    ]
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/est/blog',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'title' => 'et',
            'categories' => [
                1725.7,
            ],
            'owner_id' => 3884.9070464,
            'file' => [
                'temp_file' => 2928.209170892,
            ],
            'text' => 'dignissimos',
            'draft' => 339259139.29,
            'tags' => [
                'cupiditate',
            ],
            'privacy' => 'praesentium',
            'attachments' => [
                'et',
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/est/blog"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "et",
    "categories": [
        1725.7
    ],
    "owner_id": 3884.9070464,
    "file": {
        "temp_file": 2928.209170892
    },
    "text": "dignissimos",
    "draft": 339259139.29,
    "tags": [
        "cupiditate"
    ],
    "privacy": "praesentium",
    "attachments": [
        "et"
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/blog

URL Parameters

ver  string  

Body Parameters

title  string  

categories  number[] optional  

owner_id  number optional  

file  object optional  

file.temp_file  number optional  

This field is required when file is present.

text  string  

draft  number optional  

tags  string[] optional  

privacy  string  

captcha  string optional  

attachments  number[] optional  

attachments[].id  number optional  

attachments[].status  string optional  

Display a listing of the resource.

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/ut/blog-category" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "id": 374692.696,
    "page": 20,
    "q": "dolorem",
    "level": 497753.583085078,
    "limit": 2285.05442649
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/ut/blog-category',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'id' => 374692.696,
            'page' => 20,
            'q' => 'dolorem',
            'level' => 497753.583085078,
            'limit' => 2285.05442649,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/ut/blog-category"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "id": 374692.696,
    "page": 20,
    "q": "dolorem",
    "level": 497753.583085078,
    "limit": 2285.05442649
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/blog-category

URL Parameters

ver  string  

Body Parameters

id  number optional  

page  number optional  

Must be at least 1.

q  string optional  

level  number optional  

limit  number optional  

Approve blog.

requires authentication

Example request:
curl --request PATCH \
    "https://demo.metafox.app/api/v1/api/tempore/blog/approve/89633" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
    'https://demo.metafox.app/api/v1/api/tempore/blog/approve/89633',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/tempore/blog/approve/89633"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "PATCH",
    headers,
}).then(response => response.json());

Request      

PATCH api/{ver}/blog/approve/{id}

URL Parameters

ver  string  

id  string  

The ID of the approve.

Feature blog.

requires authentication

Example request:
curl --request PATCH \
    "https://demo.metafox.app/api/v1/api/voluptatem/blog/feature/50" \
    --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/api/voluptatem/blog/feature/50',
    [
        '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/api/voluptatem/blog/feature/50"
);

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());

Request      

PATCH api/{ver}/blog/feature/{id}

URL Parameters

ver  string  

id  string  

The ID of the feature.

Body Parameters

feature  number  

Must be one of 0 or 1.

GET api/{ver}/blog/form

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/qui/blog/form" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "owner_id": 573
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/qui/blog/form',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'owner_id' => 573.0,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/qui/blog/form"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "owner_id": 573
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/blog/form

URL Parameters

ver  string  

Body Parameters

owner_id  number optional  

GET api/{ver}/blog/form/{id}

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/esse/blog/form/25890" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "owner_id": 197194673
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/esse/blog/form/25890',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'owner_id' => 197194673.0,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/esse/blog/form/25890"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "owner_id": 197194673
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/blog/form/{id}

URL Parameters

ver  string  

id  string  

The ID of the form.

Body Parameters

owner_id  number optional  

Publish blog.

requires authentication

Example request:
curl --request PATCH \
    "https://demo.metafox.app/api/v1/api/qui/blog/publish/36" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
    'https://demo.metafox.app/api/v1/api/qui/blog/publish/36',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/qui/blog/publish/36"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "PATCH",
    headers,
}).then(response => response.json());

Request      

PATCH api/{ver}/blog/publish/{id}

URL Parameters

ver  string  

id  string  

The ID of the publish.

Get search form.

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/temporibus/blog/search-form" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/temporibus/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/api/temporibus/blog/search-form"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/{ver}/blog/search-form

URL Parameters

ver  string  

Sponsor blog in feed.

requires authentication

Example request:
curl --request PATCH \
    "https://demo.metafox.app/api/v1/api/est/blog/sponsor-in-feed/2" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "sponsor": 0
}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
    'https://demo.metafox.app/api/v1/api/est/blog/sponsor-in-feed/2',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'sponsor' => 0.0,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/est/blog/sponsor-in-feed/2"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "sponsor": 0
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/{ver}/blog/sponsor-in-feed/{id}

URL Parameters

ver  string  

id  string  

The ID of the sponsor in feed.

Body Parameters

sponsor  number  

Sponsor blog.

requires authentication

Example request:
curl --request PATCH \
    "https://demo.metafox.app/api/v1/api/id/blog/sponsor/9" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "sponsor": "eveniet"
}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
    'https://demo.metafox.app/api/v1/api/id/blog/sponsor/9',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'sponsor' => 'eveniet',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/id/blog/sponsor/9"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "sponsor": "eveniet"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/{ver}/blog/sponsor/{id}

URL Parameters

ver  string  

id  string  

The ID of the sponsor.

Body Parameters

sponsor  string  

View Blog.

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/rem/blog/9" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/rem/blog/9',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/rem/blog/9"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/{ver}/blog/{id}

URL Parameters

ver  string  

id  string  

The ID of the blog.

Update blog.

requires authentication

Example request:
curl --request PUT \
    "https://demo.metafox.app/api/v1/api/nobis/blog/38" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "title": "saepe",
    "categories": [
        45
    ],
    "file": {
        "temp_file": 6742.9259109,
        "status": "harum"
    },
    "text": "ut",
    "tags": [
        "nihil"
    ],
    "draft": 235679775.375,
    "published": false,
    "attachments": [
        "ab"
    ]
}"
$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://demo.metafox.app/api/v1/api/nobis/blog/38',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'title' => 'saepe',
            'categories' => [
                45,
            ],
            'file' => [
                'temp_file' => 6742.9259109,
                'status' => 'harum',
            ],
            'text' => 'ut',
            'tags' => [
                'nihil',
            ],
            'draft' => 235679775.375,
            'published' => false,
            'attachments' => [
                'ab',
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/nobis/blog/38"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "saepe",
    "categories": [
        45
    ],
    "file": {
        "temp_file": 6742.9259109,
        "status": "harum"
    },
    "text": "ut",
    "tags": [
        "nihil"
    ],
    "draft": 235679775.375,
    "published": false,
    "attachments": [
        "ab"
    ]
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/{ver}/blog/{id}

PATCH api/{ver}/blog/{id}

URL Parameters

ver  string  

id  string  

The ID of the blog.

Body Parameters

title  string optional  

categories  integer[] optional  

Must be at least 1.

file  object optional  

file.temp_file  number optional  

This field is required when file.status is update.

file.status  string optional  

This field is required when file is present.

text  string optional  

tags  string[] optional  

draft  number optional  

published  boolean optional  

privacy  string optional  

attachments  number[] optional  

attachments[].id  number optional  

attachments[].status  string optional  

Delete blog.

requires authentication

Example request:
curl --request DELETE \
    "https://demo.metafox.app/api/v1/api/molestiae/blog/63" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://demo.metafox.app/api/v1/api/molestiae/blog/63',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/molestiae/blog/63"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/{ver}/blog/{id}

URL Parameters

ver  string  

id  string  

The ID of the blog.

CAPTCHA

App name: CAPTCHA Version: 5.0.10 Author: phpFox Updated at: Dec 26, 2023

POST api/{ver}/captcha/verify

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/molestiae/captcha/verify" \
    --header "Content-Type: application/json" \
    --data "{
    "action_name": "exercitationem"
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/molestiae/captcha/verify',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'action_name' => 'exercitationem',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/molestiae/captcha/verify"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "action_name": "exercitationem"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/captcha/verify

URL Parameters

ver  string  

Body Parameters

action_name  string optional  

captcha  string optional  

POST api/{ver}/image-captcha/refresh

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/ut/image-captcha/refresh"
$client = new \GuzzleHttp\Client();
$response = $client->post('https://demo.metafox.app/api/v1/api/ut/image-captcha/refresh');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/ut/image-captcha/refresh"
);

fetch(url, {
    method: "POST",
}).then(response => response.json());

Request      

POST api/{ver}/image-captcha/refresh

URL Parameters

ver  string  

Chat

App name: Chat Version: 5.0.12 Author: phpFox Updated at: Dec 26, 2023

GET api/{ver}/chat

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/a/chat" \
    --header "Content-Type: application/json" \
    --data "{
    "q": "et",
    "room_id": 195132,
    "last_message_id": 0.162,
    "page": 27,
    "limit": 1
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/a/chat',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'q' => 'et',
            'room_id' => 195132.0,
            'last_message_id' => 0.162,
            'page' => 27,
            'limit' => 1,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/a/chat"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "q": "et",
    "room_id": 195132,
    "last_message_id": 0.162,
    "page": 27,
    "limit": 1
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/chat

URL Parameters

ver  string  

Body Parameters

q  string optional  

room_id  number optional  

last_message_id  number optional  

page  integer optional  

Must be at least 1.

limit  integer optional  

POST api/{ver}/chat

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/dolorem/chat" \
    --header "Content-Type: application/json" \
    --data "{
    "room_id": 1043.56669,
    "message": "aut",
    "type": "nihil",
    "reply_id": 10,
    "tempId": "praesentium",
    "attachments": [
        "vel"
    ]
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/dolorem/chat',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'room_id' => 1043.56669,
            'message' => 'aut',
            'type' => 'nihil',
            'reply_id' => 10,
            'tempId' => 'praesentium',
            'attachments' => [
                'vel',
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/dolorem/chat"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "room_id": 1043.56669,
    "message": "aut",
    "type": "nihil",
    "reply_id": 10,
    "tempId": "praesentium",
    "attachments": [
        "vel"
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/chat

URL Parameters

ver  string  

Body Parameters

room_id  number optional  

message  string optional  

type  string optional  

reply_id  integer optional  

tempId  string optional  

attachments  number[] optional  

attachments[].id  number optional  

attachments[].status  string optional  

GET api/{ver}/chat-room

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/ut/chat-room" \
    --header "Content-Type: application/json" \
    --data "{
    "q": "id",
    "page": 32,
    "limit": 4
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/ut/chat-room',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'q' => 'id',
            'page' => 32,
            'limit' => 4,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/ut/chat-room"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "q": "id",
    "page": 32,
    "limit": 4
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/chat-room

URL Parameters

ver  string  

Body Parameters

q  string optional  

page  integer optional  

Must be at least 1.

limit  integer optional  

POST api/{ver}/chat-room

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/qui/chat-room" \
    --header "Content-Type: application/json" \
    --data "{
    "member_ids": [
        17.922829
    ],
    "users": [
        "reprehenderit"
    ]
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/qui/chat-room',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'member_ids' => [
                17.922829,
            ],
            'users' => [
                'reprehenderit',
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/qui/chat-room"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "member_ids": [
        17.922829
    ],
    "users": [
        "reprehenderit"
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/chat-room

URL Parameters

ver  string  

Body Parameters

member_ids  number[] optional  

users  number[] optional  

users[].id  number optional  

GET api/{ver}/chat-room/addForm

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/recusandae/chat-room/addForm"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/recusandae/chat-room/addForm');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/recusandae/chat-room/addForm"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/chat-room/addForm

URL Parameters

ver  string  

PUT api/{ver}/chat-room/mark-all-read

Example request:
curl --request PUT \
    "https://demo.metafox.app/api/v1/api/sint/chat-room/mark-all-read" \
    --header "Content-Type: application/json" \
    --data "{
    "room_ids": [
        5.863
    ]
}"
$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://demo.metafox.app/api/v1/api/sint/chat-room/mark-all-read',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'room_ids' => [
                5.863,
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/sint/chat-room/mark-all-read"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "room_ids": [
        5.863
    ]
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/{ver}/chat-room/mark-all-read

URL Parameters

ver  string  

Body Parameters

room_ids  number[] optional  

PUT api/{ver}/chat-room/mark-read/{id}

Example request:
curl --request PUT \
    "https://demo.metafox.app/api/v1/api/doloremque/chat-room/mark-read/816954985"
$client = new \GuzzleHttp\Client();
$response = $client->put('https://demo.metafox.app/api/v1/api/doloremque/chat-room/mark-read/816954985');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/doloremque/chat-room/mark-read/816954985"
);

fetch(url, {
    method: "PUT",
}).then(response => response.json());

Request      

PUT api/{ver}/chat-room/mark-read/{id}

URL Parameters

ver  string  

id  string  

The ID of the mark read.

GET api/{ver}/chat-room/{id}

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/aut/chat-room/44"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/aut/chat-room/44');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/aut/chat-room/44"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/chat-room/{id}

URL Parameters

ver  string  

id  string  

The ID of the chat room.

DELETE api/{ver}/chat-room/{id}

Example request:
curl --request DELETE \
    "https://demo.metafox.app/api/v1/api/quam/chat-room/923"
$client = new \GuzzleHttp\Client();
$response = $client->delete('https://demo.metafox.app/api/v1/api/quam/chat-room/923');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/quam/chat-room/923"
);

fetch(url, {
    method: "DELETE",
}).then(response => response.json());

Request      

DELETE api/{ver}/chat-room/{id}

URL Parameters

ver  string  

id  string  

The ID of the chat room.

Display the specified resource.

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/enim/chat/download/1"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/enim/chat/download/1');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/enim/chat/download/1"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/chat/download/{id}

URL Parameters

ver  string  

id  string  

The ID of the download.

PUT api/{ver}/chat/react/{id}

Example request:
curl --request PUT \
    "https://demo.metafox.app/api/v1/api/itaque/chat/react/1" \
    --header "Content-Type: application/json" \
    --data "{
    "react": "consequatur",
    "remove": false
}"
$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://demo.metafox.app/api/v1/api/itaque/chat/react/1',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'react' => 'consequatur',
            'remove' => false,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/itaque/chat/react/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "react": "consequatur",
    "remove": false
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/{ver}/chat/react/{id}

URL Parameters

ver  string  

id  string  

The ID of the react.

Body Parameters

react  string optional  

remove  boolean optional  

PUT api/{ver}/chat/remove/{id}

Example request:
curl --request PUT \
    "https://demo.metafox.app/api/v1/api/id/chat/remove/887"
$client = new \GuzzleHttp\Client();
$response = $client->put('https://demo.metafox.app/api/v1/api/id/chat/remove/887');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/id/chat/remove/887"
);

fetch(url, {
    method: "PUT",
}).then(response => response.json());

Request      

PUT api/{ver}/chat/remove/{id}

URL Parameters

ver  string  

id  string  

The ID of the remove.

GET api/{ver}/chat/{id}

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/sit/chat/1"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/sit/chat/1');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/sit/chat/1"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/chat/{id}

URL Parameters

ver  string  

id  string  

The ID of the chat.

PUT api/{ver}/chat/{id}

Example request:
curl --request PUT \
    "https://demo.metafox.app/api/v1/api/consequatur/chat/59167" \
    --header "Content-Type: application/json" \
    --data "{
    "message": "quam",
    "type": "ratione"
}"
$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://demo.metafox.app/api/v1/api/consequatur/chat/59167',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'message' => 'quam',
            'type' => 'ratione',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/consequatur/chat/59167"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "message": "quam",
    "type": "ratione"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/{ver}/chat/{id}

PATCH api/{ver}/chat/{id}

URL Parameters

ver  string  

id  string  

The ID of the chat.

Body Parameters

message  string optional  

type  string optional  

ChatPlus

App name: ChatPlus Version: 5.0.14 Author: phpFox Updated at: Dec 26, 2023

GET api/{ver}/chatplus/can-create-direct-message/{type}/{id_from}/{id_to}

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/fuga/chatplus/can-create-direct-message/et/ut/est" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/fuga/chatplus/can-create-direct-message/et/ut/est',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/fuga/chatplus/can-create-direct-message/et/ut/est"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/{ver}/chatplus/can-create-direct-message/{type}/{id_from}/{id_to}

URL Parameters

ver  string  

type  string  

id_from  string  

id_to  string  

GET api/{ver}/chatplus/export-users

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/maxime/chatplus/export-users" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/maxime/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/api/maxime/chatplus/export-users"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/{ver}/chatplus/export-users

URL Parameters

ver  string  

GET api/{ver}/chatplus/jobs

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/iure/chatplus/jobs" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/iure/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/api/iure/chatplus/jobs"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/{ver}/chatplus/jobs

URL Parameters

ver  string  

GET api/{ver}/chatplus/me

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/mollitia/chatplus/me" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/mollitia/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/api/mollitia/chatplus/me"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/{ver}/chatplus/me

URL Parameters

ver  string  

GET api/{ver}/chatplus/prefetch-users

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/aspernatur/chatplus/prefetch-users" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/aspernatur/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/api/aspernatur/chatplus/prefetch-users"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/{ver}/chatplus/prefetch-users

URL Parameters

ver  string  

POST api/{ver}/chatplus/rooms/upload/{room_id}

requires authentication

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/beatae/chatplus/rooms/upload/soluta" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "userId": "sint",
    "roomId": "fuga",
    "token": "molestiae",
    "msg": "ea",
    "file": []
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/beatae/chatplus/rooms/upload/soluta',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'userId' => 'sint',
            'roomId' => 'fuga',
            'token' => 'molestiae',
            'msg' => 'ea',
            'file' => [],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/beatae/chatplus/rooms/upload/soluta"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "userId": "sint",
    "roomId": "fuga",
    "token": "molestiae",
    "msg": "ea",
    "file": []
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/chatplus/rooms/upload/{room_id}

URL Parameters

ver  string  

room_id  string  

The ID of the room.

Body Parameters

userId  string  

roomId  string  

token  string  

msg  string optional  

file  object  

GET api/{ver}/chatplus/settings

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/totam/chatplus/settings" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/totam/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/api/totam/chatplus/settings"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/{ver}/chatplus/settings

URL Parameters

ver  string  

GET api/{ver}/chatplus/spotlight

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/doloribus/chatplus/spotlight" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/doloribus/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/api/doloribus/chatplus/spotlight"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/{ver}/chatplus/spotlight

URL Parameters

ver  string  

GET api/{ver}/chatplus/user/{type}/{query}

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/nesciunt/chatplus/user/velit/dolores" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/nesciunt/chatplus/user/velit/dolores',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/nesciunt/chatplus/user/velit/dolores"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/{ver}/chatplus/user/{type}/{query}

URL Parameters

ver  string  

type  string  

query  string  

Comment

App name: Comment Version: 5.0.11 Author: phpFox Updated at: Dec 26, 2023

Browse comments.

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/dolorem/comment" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "item_id": 9.560734,
    "item_type": "et",
    "parent_id": 5.712739,
    "page": 18,
    "limit": 407.62216,
    "sort": "quo",
    "sort_type": "nobis",
    "last_id": 16.82877,
    "excludes": [
        4487
    ],
    "comment_id": 17
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/dolorem/comment',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'item_id' => 9.560734,
            'item_type' => 'et',
            'parent_id' => 5.712739,
            'page' => 18,
            'limit' => 407.62216,
            'sort' => 'quo',
            'sort_type' => 'nobis',
            'last_id' => 16.82877,
            'excludes' => [
                4487.0,
            ],
            'comment_id' => 17,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/dolorem/comment"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "item_id": 9.560734,
    "item_type": "et",
    "parent_id": 5.712739,
    "page": 18,
    "limit": 407.62216,
    "sort": "quo",
    "sort_type": "nobis",
    "last_id": 16.82877,
    "excludes": [
        4487
    ],
    "comment_id": 17
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/comment

URL Parameters

ver  string  

Body Parameters

item_id  number  

item_type  string  

parent_id  number optional  

page  number optional  

Must be at least 1.

limit  number optional  

sort  string optional  

sort_type  string optional  

last_id  number optional  

excludes  number[] optional  

comment_id  integer optional  

Create comment.

requires authentication

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/qui/comment" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "item_id": 13522102.018,
    "item_type": "repudiandae",
    "text": "libero",
    "parent_id": 5221.792771,
    "photo_id": 499676,
    "sticker_id": 107.51954636
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/qui/comment',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'item_id' => 13522102.018,
            'item_type' => 'repudiandae',
            'text' => 'libero',
            'parent_id' => 5221.792771,
            'photo_id' => 499676.0,
            'sticker_id' => 107.51954636,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/qui/comment"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "item_id": 13522102.018,
    "item_type": "repudiandae",
    "text": "libero",
    "parent_id": 5221.792771,
    "photo_id": 499676,
    "sticker_id": 107.51954636
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/comment

URL Parameters

ver  string  

Body Parameters

item_id  number  

item_type  string  

text  string optional  

This field is required when none of photo_id and sticker_id are present.

parent_id  number optional  

photo_id  number optional  

sticker_id  number optional  

captcha  string optional  

GET api/{ver}/comment-lists

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/quos/comment-lists" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "item_id": 34.9157399,
    "item_type": "rerum",
    "parent_id": 56.8115834,
    "page": 1,
    "limit": 4247.3965031,
    "sort": "earum",
    "sort_type": "accusantium",
    "last_id": 1108.5,
    "excludes": [
        12941
    ],
    "comment_id": 14
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/quos/comment-lists',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'item_id' => 34.9157399,
            'item_type' => 'rerum',
            'parent_id' => 56.8115834,
            'page' => 1,
            'limit' => 4247.3965031,
            'sort' => 'earum',
            'sort_type' => 'accusantium',
            'last_id' => 1108.5,
            'excludes' => [
                12941.0,
            ],
            'comment_id' => 14,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/quos/comment-lists"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "item_id": 34.9157399,
    "item_type": "rerum",
    "parent_id": 56.8115834,
    "page": 1,
    "limit": 4247.3965031,
    "sort": "earum",
    "sort_type": "accusantium",
    "last_id": 1108.5,
    "excludes": [
        12941
    ],
    "comment_id": 14
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/comment-lists

URL Parameters

ver  string  

Body Parameters

item_id  number  

item_type  string  

parent_id  number optional  

page  number optional  

Must be at least 1.

limit  number optional  

sort  string optional  

sort_type  string optional  

last_id  number optional  

excludes  number[] optional  

comment_id  integer optional  

Approve comment.

requires authentication

Example request:
curl --request PATCH \
    "https://demo.metafox.app/api/v1/api/sint/comment/approve/321" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
    'https://demo.metafox.app/api/v1/api/sint/comment/approve/321',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/sint/comment/approve/321"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "PATCH",
    headers,
}).then(response => response.json());

Request      

PATCH api/{ver}/comment/approve/{id}

URL Parameters

ver  string  

id  string  

The ID of the approve.

GET api/{ver}/comment/download/{id}

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/repudiandae/comment/download/783" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/repudiandae/comment/download/783',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/repudiandae/comment/download/783"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/{ver}/comment/download/{id}

URL Parameters

ver  string  

id  string  

The ID of the download.

POST api/{ver}/comment/hide

requires authentication

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/at/comment/hide" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "comment_id": 23041.63567,
    "is_hidden": "nostrum"
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/at/comment/hide',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'comment_id' => 23041.63567,
            'is_hidden' => 'nostrum',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/at/comment/hide"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "comment_id": 23041.63567,
    "is_hidden": "nostrum"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/comment/hide

URL Parameters

ver  string  

Body Parameters

comment_id  number  

is_hidden  string  

is_global  string optional  

GET api/{ver}/comment/history-edit/{id}

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/voluptas/comment/history-edit/4" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/voluptas/comment/history-edit/4',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/voluptas/comment/history-edit/4"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/{ver}/comment/history-edit/{id}

URL Parameters

ver  string  

id  string  

The ID of the history edit.

GET api/{ver}/comment/preview/{id}

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/et/comment/preview/276090" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/et/comment/preview/276090',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/et/comment/preview/276090"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/{ver}/comment/preview/{id}

URL Parameters

ver  string  

id  string  

The ID of the preview.

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/nemo/comment/related-comment" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "item_id": 6304211.8762,
    "item_type": "quia",
    "parent_id": 65102163.61894913,
    "page": 46,
    "limit": 724222.514,
    "sort": "voluptatum",
    "sort_type": "in",
    "last_id": 22.744,
    "excludes": [
        4.1
    ],
    "comment_id": 5
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/nemo/comment/related-comment',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'item_id' => 6304211.8762,
            'item_type' => 'quia',
            'parent_id' => 65102163.61894913,
            'page' => 46,
            'limit' => 724222.514,
            'sort' => 'voluptatum',
            'sort_type' => 'in',
            'last_id' => 22.744,
            'excludes' => [
                4.1,
            ],
            'comment_id' => 5,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/nemo/comment/related-comment"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "item_id": 6304211.8762,
    "item_type": "quia",
    "parent_id": 65102163.61894913,
    "page": 46,
    "limit": 724222.514,
    "sort": "voluptatum",
    "sort_type": "in",
    "last_id": 22.744,
    "excludes": [
        4.1
    ],
    "comment_id": 5
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

View comment.

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/quam/comment/3" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/quam/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/api/quam/comment/3"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/{ver}/comment/{id}

URL Parameters

ver  string  

id  string  

The ID of the comment.

Update comment.

requires authentication

Example request:
curl --request PUT \
    "https://demo.metafox.app/api/v1/api/fuga/comment/72091" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "text": "vitae",
    "is_hide": 145259.605212902
}"
$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://demo.metafox.app/api/v1/api/fuga/comment/72091',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'text' => 'vitae',
            'is_hide' => 145259.605212902,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/fuga/comment/72091"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "text": "vitae",
    "is_hide": 145259.605212902
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/{ver}/comment/{id}

PATCH api/{ver}/comment/{id}

URL Parameters

ver  string  

id  string  

The ID of the comment.

Body Parameters

text  string optional  

photo_id  string optional  

is_hide  number optional  

sticker_id  string optional  

Remove comment.

requires authentication

Example request:
curl --request DELETE \
    "https://demo.metafox.app/api/v1/api/reprehenderit/comment/837" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://demo.metafox.app/api/v1/api/reprehenderit/comment/837',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/reprehenderit/comment/837"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/{ver}/comment/{id}

URL Parameters

ver  string  

id  string  

The ID of the comment.

PATCH api/{ver}/comment/{id}/remove-preview

requires authentication

Example request:
curl --request PATCH \
    "https://demo.metafox.app/api/v1/api/aut/comment/7/remove-preview" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
    'https://demo.metafox.app/api/v1/api/aut/comment/7/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/api/aut/comment/7/remove-preview"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "PATCH",
    headers,
}).then(response => response.json());

Request      

PATCH api/{ver}/comment/{id}/remove-preview

URL Parameters

ver  string  

id  string  

The ID of the comment.

Contact

App name: Contact Version: 5.0.9 Author: phpFox Updated at: Dec 26, 2023

Store item.

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/occaecati/contact" \
    --header "Content-Type: application/json" \
    --data "{
    "category_id": 11,
    "full_name": "mz",
    "subject": "ya",
    "email": "[email protected]",
    "message": "voluptatem",
    "send_copy": 16
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/occaecati/contact',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'category_id' => 11,
            'full_name' => 'mz',
            'subject' => 'ya',
            'email' => '[email protected]',
            'message' => 'voluptatem',
            'send_copy' => 16,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/occaecati/contact"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "category_id": 11,
    "full_name": "mz",
    "subject": "ya",
    "email": "[email protected]",
    "message": "voluptatem",
    "send_copy": 16
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/contact

URL Parameters

ver  string  

Body Parameters

category_id  integer  

full_name  string  

Must be between 1 and 255 characters.

subject  string  

Must be between 1 and 255 characters.

email  string  

Must be a valid email address. Must be between 1 and 255 characters.

message  string  

send_copy  integer optional  

captcha  string optional  

Core

App name: Core Version: 5.1.6 Author: phpFox Updated at: Dec 26, 2023

View frontend settings.

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/nemo/core/admin/settings/sit"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/nemo/core/admin/settings/sit');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/nemo/core/admin/settings/sit"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/core/admin/settings/{revision?}

URL Parameters

ver  string  

revision  string optional  

GET api/{ver}/core/custom-privacy-option

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/qui/core/custom-privacy-option" \
    --header "Content-Type: application/json" \
    --data "{
    "item_type": "corporis",
    "item_id": 16,
    "page": 31,
    "limit": 25643037.02631,
    "sort": "ut",
    "sort_type": "eos"
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/qui/core/custom-privacy-option',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'item_type' => 'corporis',
            'item_id' => 16.0,
            'page' => 31,
            'limit' => 25643037.02631,
            'sort' => 'ut',
            'sort_type' => 'eos',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/qui/core/custom-privacy-option"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "item_type": "corporis",
    "item_id": 16,
    "page": 31,
    "limit": 25643037.02631,
    "sort": "ut",
    "sort_type": "eos"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/core/custom-privacy-option

URL Parameters

ver  string  

Body Parameters

item_type  string optional  

item_id  number optional  

page  number optional  

Must be at least 1.

limit  number optional  

sort  string optional  

sort_type  string optional  

GET api/{ver}/core/custom-privacy-option/form

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/ratione/core/custom-privacy-option/form"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/ratione/core/custom-privacy-option/form');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/ratione/core/custom-privacy-option/form"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/core/custom-privacy-option/form

URL Parameters

ver  string  

GET api/{ver}/core/form/{formName}/{id?}

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/impedit/core/form/impedit/498"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/impedit/core/form/impedit/498');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/impedit/core/form/impedit/498"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/core/form/{formName}/{id?}

URL Parameters

ver  string  

formName  string  

id  string optional  

The ID of the .

View app settings.

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/consectetur/core/mobile/action-settings"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/consectetur/core/mobile/action-settings');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/consectetur/core/mobile/action-settings"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/core/mobile/action-settings

URL Parameters

ver  string  

View app settings.

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/porro/core/mobile/app-settings"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/porro/core/mobile/app-settings');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/porro/core/mobile/app-settings"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/core/mobile/app-settings

URL Parameters

ver  string  

GET api/{ver}/core/mobile/form/{formName}/{id?}

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/nobis/core/mobile/form/ea/3725"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/nobis/core/mobile/form/ea/3725');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/nobis/core/mobile/form/ea/3725"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/core/mobile/form/{formName}/{id?}

URL Parameters

ver  string  

formName  string  

id  string optional  

The ID of the .

View app settings.

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/aut/core/mobile/settings/autem"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/aut/core/mobile/settings/autem');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/aut/core/mobile/settings/autem"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/core/mobile/settings/{revision?}

URL Parameters

ver  string  

revision  string optional  

GET api/{ver}/core/package/build/callback

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/consectetur/core/package/build/callback" \
    --header "Content-Type: application/json" \
    --data "{
    "buildId": "illo"
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/consectetur/core/package/build/callback',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'buildId' => 'illo',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/consectetur/core/package/build/callback"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "buildId": "illo"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/core/package/build/callback

URL Parameters

ver  string  

Body Parameters

buildId  string  

View user badge status.

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/quibusdam/core/status"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/quibusdam/core/status');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/quibusdam/core/status"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/core/status

URL Parameters

ver  string  

GET api/{ver}/core/translation/{group}/{lang?}/{revision?}

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/laborum/core/translation/ab/repellat/molestiae"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/laborum/core/translation/ab/repellat/molestiae');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/laborum/core/translation/ab/repellat/molestiae"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/core/translation/{group}/{lang?}/{revision?}

URL Parameters

ver  string  

group  string  

lang  string optional  

revision  string optional  

Get canonical URL.

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/beatae/core/url-to-route" \
    --header "Content-Type: application/json" \
    --data "{
    "url": "distinctio"
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/beatae/core/url-to-route',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'url' => 'distinctio',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/beatae/core/url-to-route"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "url": "distinctio"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/core/url-to-route

URL Parameters

ver  string  

Body Parameters

url  string  

View frontend settings.

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/repellat/core/web/action-settings"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/repellat/core/web/action-settings');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/repellat/core/web/action-settings"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/core/web/action-settings

URL Parameters

ver  string  

View frontend settings.

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/excepturi/core/web/app-settings"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/excepturi/core/web/app-settings');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/excepturi/core/web/app-settings"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/core/web/app-settings

URL Parameters

ver  string  

View frontend settings.

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/enim/core/web/settings/ut"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/enim/core/web/settings/ut');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/enim/core/web/settings/ut"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/core/web/settings/{revision?}

URL Parameters

ver  string  

revision  string optional  

Upload single.

requires authentication

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/maxime/file" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "storage_id": "magnam",
    "file": "et",
    "file_type": "veniam",
    "item_type": "id",
    "thumbnail_sizes": [
        "veritatis"
    ],
    "base64": "nihil"
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/maxime/file',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'storage_id' => 'magnam',
            'file' => 'et',
            'file_type' => 'veniam',
            'item_type' => 'id',
            'thumbnail_sizes' => [
                'veritatis',
            ],
            'base64' => 'nihil',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/maxime/file"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "storage_id": "magnam",
    "file": "et",
    "file_type": "veniam",
    "item_type": "id",
    "thumbnail_sizes": [
        "veritatis"
    ],
    "base64": "nihil"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/file

URL Parameters

ver  string  

Body Parameters

storage_id  string optional  

file  string  

file_type  string optional  

item_type  string optional  

thumbnail_sizes  string[] optional  

base64  string optional  

Upload multiple file.

requires authentication

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/quia/files" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "storage_id": "atque",
    "item_type": "et",
    "upload_type": "inventore",
    "thumbnail_sizes": [
        "minima"
    ],
    "file": [
        "illo"
    ]
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/quia/files',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'storage_id' => 'atque',
            'item_type' => 'et',
            'upload_type' => 'inventore',
            'thumbnail_sizes' => [
                'minima',
            ],
            'file' => [
                'illo',
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/quia/files"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "storage_id": "atque",
    "item_type": "et",
    "upload_type": "inventore",
    "thumbnail_sizes": [
        "minima"
    ],
    "file": [
        "illo"
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/files

URL Parameters

ver  string  

Body Parameters

storage_id  string optional  

0  string optional  

item_type  string optional  

upload_type  string optional  

thumbnail_sizes  string[] optional  

file  string[]  

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/odit/link/fetch" \
    --header "Content-Type: application/json" \
    --data "{
    "link": "voluptatem"
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/odit/link/fetch',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'link' => 'voluptatem',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/odit/link/fetch"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "link": "voluptatem"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

GET api/{ver}/ping

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/et/ping"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/et/ping');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/et/ping"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/ping

URL Parameters

ver  string  

E-Wallet

App name: E-Wallet Version: 5.1.0 Author: phpFox Updated at: Dec 26, 2023

Browse item.

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/unde/emoney/request" \
    --header "Content-Type: application/json" \
    --data "{
    "from_date": "dolores",
    "to_date": "nam",
    "id": 7
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/unde/emoney/request',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'from_date' => 'dolores',
            'to_date' => 'nam',
            'id' => 7,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/unde/emoney/request"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "from_date": "dolores",
    "to_date": "nam",
    "id": 7
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/emoney/request

URL Parameters

ver  string  

Body Parameters

from_date  string optional  

to_date  string optional  

status  string optional  

id  integer optional  

PATCH api/{ver}/emoney/request/cancel/{id}

Example request:
curl --request PATCH \
    "https://demo.metafox.app/api/v1/api/velit/emoney/request/cancel/693"
$client = new \GuzzleHttp\Client();
$response = $client->patch('https://demo.metafox.app/api/v1/api/velit/emoney/request/cancel/693');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/velit/emoney/request/cancel/693"
);

fetch(url, {
    method: "PATCH",
}).then(response => response.json());

Request      

PATCH api/{ver}/emoney/request/cancel/{id}

URL Parameters

ver  string  

id  string  

The ID of the cancel.

GET api/{ver}/emoney/request/{id}

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/cupiditate/emoney/request/892111"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/cupiditate/emoney/request/892111');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/cupiditate/emoney/request/892111"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/emoney/request/{id}

URL Parameters

ver  string  

id  string  

The ID of the request.

View item.

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/in/emoney/statistic/03"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/in/emoney/statistic/03');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/in/emoney/statistic/03"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/emoney/statistic/{id}

URL Parameters

ver  string  

id  string  

The ID of the statistic.

Browse item.

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/fugiat/emoney/transaction" \
    --header "Content-Type: application/json" \
    --data "{
    "base_currency": "quis",
    "from_date": "reiciendis",
    "to_date": "suscipit",
    "buyer": "aut",
    "id": 11,
    "source": "adipisci",
    "type": "sed"
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/fugiat/emoney/transaction',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'base_currency' => 'quis',
            'from_date' => 'reiciendis',
            'to_date' => 'suscipit',
            'buyer' => 'aut',
            'id' => 11,
            'source' => 'adipisci',
            'type' => 'sed',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/fugiat/emoney/transaction"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "base_currency": "quis",
    "from_date": "reiciendis",
    "to_date": "suscipit",
    "buyer": "aut",
    "id": 11,
    "source": "adipisci",
    "type": "sed"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/emoney/transaction

URL Parameters

ver  string  

Body Parameters

base_currency  string optional  

status  string optional  

from_date  string optional  

to_date  string optional  

buyer  string optional  

id  integer optional  

source  string optional  

type  string optional  

GET api/{ver}/emoney/transaction/{id}

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/qui/emoney/transaction/4"
$client = new \GuzzleHttp\Client();
$response = $client->get('https://demo.metafox.app/api/v1/api/qui/emoney/transaction/4');
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/qui/emoney/transaction/4"
);

fetch(url, {
    method: "GET",
}).then(response => response.json());

Request      

GET api/{ver}/emoney/transaction/{id}

URL Parameters

ver  string  

id  string  

The ID of the transaction.

Event

App name: Event Version: 5.0.10 Author: phpFox Updated at: Dec 26, 2023

Display a listing of the resource.

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/commodi/event" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "q": "voluptatum",
    "view": "est",
    "sort": "minus",
    "sort_type": "impedit",
    "when": "cupiditate",
    "category_id": 128.3963829,
    "user_id": 29.539,
    "owner_id": 12,
    "event_id": 80808.1246,
    "page": 63,
    "where": "wpjrpenluq",
    "lat": 4.5649762,
    "lng": 2531.92028617,
    "radius": 69,
    "limit": 1269174.774844,
    "is_online": 77.03628,
    "is_featured": 236357.1958672,
    "bounds_west": 107.448992,
    "bounds_east": 790049.098563,
    "bounds_south": 13367469.5189155,
    "bounds_north": 425.731
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/commodi/event',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'q' => 'voluptatum',
            'view' => 'est',
            'sort' => 'minus',
            'sort_type' => 'impedit',
            'when' => 'cupiditate',
            'category_id' => 128.3963829,
            'user_id' => 29.539,
            'owner_id' => 12,
            'event_id' => 80808.1246,
            'page' => 63,
            'where' => 'wpjrpenluq',
            'lat' => 4.5649762,
            'lng' => 2531.92028617,
            'radius' => 69,
            'limit' => 1269174.774844,
            'is_online' => 77.03628,
            'is_featured' => 236357.1958672,
            'bounds_west' => 107.448992,
            'bounds_east' => 790049.098563,
            'bounds_south' => 13367469.5189155,
            'bounds_north' => 425.731,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/commodi/event"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "q": "voluptatum",
    "view": "est",
    "sort": "minus",
    "sort_type": "impedit",
    "when": "cupiditate",
    "category_id": 128.3963829,
    "user_id": 29.539,
    "owner_id": 12,
    "event_id": 80808.1246,
    "page": 63,
    "where": "wpjrpenluq",
    "lat": 4.5649762,
    "lng": 2531.92028617,
    "radius": 69,
    "limit": 1269174.774844,
    "is_online": 77.03628,
    "is_featured": 236357.1958672,
    "bounds_west": 107.448992,
    "bounds_east": 790049.098563,
    "bounds_south": 13367469.5189155,
    "bounds_north": 425.731
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/event

URL Parameters

ver  string  

Body Parameters

q  string optional  

view  string optional  

sort  string optional  

sort_type  string optional  

when  string optional  

category_id  number optional  

user_id  number optional  

owner_id  integer optional  

event_id  number optional  

page  number optional  

Must be at least 1.

where  string optional  

Must be at least 2 characters.

lat  number optional  

lng  number optional  

radius  number optional  

Must be at least 1.

limit  number optional  

is_online  number optional  

is_featured  number optional  

bounds_west  number optional  

bounds_east  number optional  

bounds_south  number optional  

bounds_north  number optional  

Store a newly created resource in storage.

requires authentication

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/dignissimos/event" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "name": "et",
    "text": "eum",
    "file": {
        "file_type": "ipsa",
        "temp_file": 1373.3285
    },
    "attachments": [
        "sint"
    ],
    "categories": [
        37.37077682
    ],
    "owner_id": 1689.95521696,
    "is_online": 20.141999,
    "event_url": "http:\/\/www.ortiz.com\/voluptatem-illo-ut-iste.html",
    "start_time": "2019-06-26",
    "end_time": "2056-02-06",
    "privacy": "ut",
    "image_position": "recusandae"
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/dignissimos/event',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'name' => 'et',
            'text' => 'eum',
            'file' => [
                'file_type' => 'ipsa',
                'temp_file' => 1373.3285,
            ],
            'attachments' => [
                'sint',
            ],
            'categories' => [
                37.37077682,
            ],
            'owner_id' => 1689.95521696,
            'is_online' => 20.141999,
            'event_url' => 'http://www.ortiz.com/voluptatem-illo-ut-iste.html',
            'start_time' => '2019-06-26',
            'end_time' => '2056-02-06',
            'privacy' => 'ut',
            'image_position' => 'recusandae',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/dignissimos/event"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "et",
    "text": "eum",
    "file": {
        "file_type": "ipsa",
        "temp_file": 1373.3285
    },
    "attachments": [
        "sint"
    ],
    "categories": [
        37.37077682
    ],
    "owner_id": 1689.95521696,
    "is_online": 20.141999,
    "event_url": "http:\/\/www.ortiz.com\/voluptatem-illo-ut-iste.html",
    "start_time": "2019-06-26",
    "end_time": "2056-02-06",
    "privacy": "ut",
    "image_position": "recusandae"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/event

URL Parameters

ver  string  

Body Parameters

name  string  

text  string optional  

file  object optional  

file.file_type  string optional  

This field is required when file is present.

file.temp_file  number optional  

This field is required when file is present.

attachments  number[] optional  

attachments[].id  number optional  

attachments[].status  string optional  

categories  number[] optional  

owner_id  number optional  

is_online  number  

event_url  string optional  

This field is required when is_online is 1. Must be a valid URL.

start_time  string  

Must be a valid date. Must be a date before end_time.

end_time  string  

Must be a valid date. Must be a date after start_time.

location  object optional  

This field is required when is_online is 0.

privacy  string  

host  object optional  

image_position  string optional  

Display a listing of the resource.

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/ad/event-category" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "id": 6119834.58,
    "page": 76,
    "q": "unde",
    "level": 158603173.55575833,
    "limit": 86
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/ad/event-category',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'id' => 6119834.58,
            'page' => 76,
            'q' => 'unde',
            'level' => 158603173.55575833,
            'limit' => 86,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/ad/event-category"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "id": 6119834.58,
    "page": 76,
    "q": "unde",
    "level": 158603173.55575833,
    "limit": 86
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/{ver}/event-category

URL Parameters

ver  string  

Body Parameters

id  number optional  

page  number optional  

Must be at least 1.

q  string optional  

level  number optional  

limit  number optional  

Must be at least 10.

POST api/{ver}/event-code

requires authentication

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/quae/event-code" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "event_id": 5136.074846,
    "refresh": 10
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/quae/event-code',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'event_id' => 5136.074846,
            'refresh' => 10,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/quae/event-code"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "event_id": 5136.074846,
    "refresh": 10
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/{ver}/event-code

URL Parameters

ver  string  

Body Parameters

event_id  number  

refresh  integer optional  

POST api/{ver}/event-code/accept/{code}

requires authentication

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/nesciunt/event-code/accept/voluptatem" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/nesciunt/event-code/accept/voluptatem',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/nesciunt/event-code/accept/voluptatem"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/{ver}/event-code/accept/{code}

URL Parameters

ver  string  

code  string  

GET api/{ver}/event-code/verify/{code}

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/doloribus/event-code/verify/tempore" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/doloribus/event-code/verify/tempore',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/doloribus/event-code/verify/tempore"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/{ver}/event-code/verify/{code}

URL Parameters

ver  string  

code  string  

PUT api/{ver}/event-host-invite

requires authentication

Example request:
curl --request PUT \
    "https://demo.metafox.app/api/v1/api/aperiam/event-host-invite" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "event_id": 6.838471285,
    "accept": 3
}"
$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://demo.metafox.app/api/v1/api/aperiam/event-host-invite',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'event_id' => 6.838471285,
            'accept' => 3.0,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/aperiam/event-host-invite"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "event_id": 6.838471285,
    "accept": 3
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/{ver}/event-host-invite

URL Parameters

ver  string  

Body Parameters

event_id  number  

accept  number  

Remove the specified resource from storage.

requires authentication

Example request:
curl --request DELETE \
    "https://demo.metafox.app/api/v1/api/doloribus/event-host-invite" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "event_id": 15117.28,
    "user_id": "modi"
}"
$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://demo.metafox.app/api/v1/api/doloribus/event-host-invite',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'event_id' => 15117.28,
            'user_id' => 'modi',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/doloribus/event-host-invite"
);

const headers = {
    "Authorization": "Bearer {accessToken}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "event_id": 15117.28,
    "user_id": "modi"
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/{ver}/event-host-invite

URL Parameters

ver  string  

Body Parameters

event_id  number  

user_id  string  

GET api/{ver}/event-host-invite

requires authentication

Example request:
curl --request GET \
    --get "https://demo.metafox.app/api/v1/api/autem/event-host-invite" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "event_id": 4331.8,
    "page": 73,
    "limit": 15138.771577612
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/autem/event-host-invite',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'event_id' => 4331.8,
            'page' => 73,
            'limit' => 15138.7715