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 \
<<<<<<< Updated upstream
    --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
=======
    --get "https://demo.metafox.app/api/v1/api/aut/activitypoint/conversion-request" \
    --header "Content-Type: application/json" \
    --data "{
    "status": "corporis",
    "from_date": "eum",
    "to_date": "placeat",
    "limit": 22,
    "id": 17
>>>>>>> Stashed changes
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/vel/activitypoint/conversion-request',
=======
    'https://demo.metafox.app/api/v1/api/aut/activitypoint/conversion-request',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            'status' => 'possimus',
            'from_date' => 'id',
            'to_date' => 'autem',
            'limit' => 4,
            'id' => 9,
=======
            'status' => 'corporis',
            'from_date' => 'eum',
            'to_date' => 'placeat',
            'limit' => 22,
            'id' => 17,
>>>>>>> Stashed changes
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/vel/activitypoint/conversion-request"
=======
    "https://demo.metafox.app/api/v1/api/aut/activitypoint/conversion-request"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "status": "possimus",
    "from_date": "id",
    "to_date": "autem",
    "limit": 4,
    "id": 9
=======
    "status": "corporis",
    "from_date": "eum",
    "to_date": "placeat",
    "limit": 22,
    "id": 17
>>>>>>> Stashed changes
};

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

status  string optional   >>>>>> Stashed changes data-component="body" hidden>

from_date  string optional   >>>>>> Stashed changes data-component="body" hidden>

to_date  string optional   >>>>>> Stashed changes data-component="body" hidden>

limit  integer optional   >>>>>> Stashed changes data-component="body" hidden>

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

id  integer optional   >>>>>> Stashed changes data-component="body" hidden>

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

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the conversion request.

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

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the conversion request.

Browse item.

requires authentication

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

const params = {
    "q": "quidem",
=======
    "https://demo.metafox.app/api/v1/api/perspiciatis/activitypoint/package"
);

const params = {
    "q": "a",
>>>>>>> Stashed changes
};
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 = {
<<<<<<< Updated upstream
    "q": "quasi",
    "sort": "latest",
    "sort_type": "asc",
    "page": 5,
    "limit": 7
=======
    "q": "vitae",
    "sort": "most_liked",
    "sort_type": "desc",
    "page": 81,
    "limit": 1
>>>>>>> Stashed changes
};

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

Request      

GET api/{ver}/activitypoint/package

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Query Parameters

q  string optional   >>>>>> Stashed changes data-component="query" hidden>

search text

Body Parameters

q  string optional   >>>>>> Stashed changes data-component="body" hidden>

sort  string optional   >>>>>> Stashed changes data-component="body" hidden>

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

sort_type  string optional   >>>>>> Stashed changes data-component="body" hidden>

Must be one of desc or asc.

page  integer optional   >>>>>> Stashed changes data-component="body" hidden>

Must be at least 1.

limit  integer optional   >>>>>> Stashed changes data-component="body" hidden>

Browse item.

requires authentication

Example request:
curl --request GET \
<<<<<<< Updated upstream
    --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
=======
    --get "https://demo.metafox.app/api/v1/api/natus/activitypoint/package-transaction" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "q": "at",
    "status": "perferendis",
    "from": "2023-12-26T01:52:06",
    "to": "2023-12-26T01:52:06",
    "sort": "most_viewed",
    "sort_type": "desc",
    "page": 68,
    "limit": 11
>>>>>>> Stashed changes
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/aliquid/activitypoint/package-transaction',
=======
    'https://demo.metafox.app/api/v1/api/natus/activitypoint/package-transaction',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            '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,
=======
            'q' => 'at',
            'status' => 'perferendis',
            'from' => '2023-12-26T01:52:06',
            'to' => '2023-12-26T01:52:06',
            'sort' => 'most_viewed',
            'sort_type' => 'desc',
            'page' => 68,
            'limit' => 11,
>>>>>>> Stashed changes
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/aliquid/activitypoint/package-transaction"
=======
    "https://demo.metafox.app/api/v1/api/natus/activitypoint/package-transaction"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "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
=======
    "q": "at",
    "status": "perferendis",
    "from": "2023-12-26T01:52:06",
    "to": "2023-12-26T01:52:06",
    "sort": "most_viewed",
    "sort_type": "desc",
    "page": 68,
    "limit": 11
>>>>>>> Stashed changes
};

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

q  string optional   >>>>>> Stashed changes data-component="body" hidden>

status  string optional   >>>>>> Stashed changes data-component="body" hidden>

from  string optional   >>>>>> Stashed changes data-component="body" hidden>

Must be a valid date.

to  string optional   >>>>>> Stashed changes data-component="body" hidden>

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/maxime/activitypoint/package/purchase/4" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "payment_gateway": 20
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/maxime/activitypoint/package/purchase/4',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'payment_gateway' => 20,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/maxime/activitypoint/package/purchase/4"
);

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

let body = {
    "payment_gateway": 20
};

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/dolore/activitypoint/package/1960" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/dolore/activitypoint/package/1960',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/dolore/activitypoint/package/1960"
);

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/impedit/activitypoint/setting" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "sort": "most_viewed",
    "sort_type": "asc"
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/impedit/activitypoint/setting',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'sort' => 'most_viewed',
            'sort_type' => 'asc',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/impedit/activitypoint/setting"
);

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

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

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/eligendi/activitypoint/statistic/68" \
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/eligendi/activitypoint/statistic/68',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/eligendi/activitypoint/statistic/68"
);

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/quo/activitypoint/transaction" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "type": 2,
    "from": "2023-12-26T01:52:06",
    "to": "2023-12-26T01:52:06",
    "sort": "latest",
    "sort_type": "desc",
    "page": 47,
    "limit": 4
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://demo.metafox.app/api/v1/api/quo/activitypoint/transaction',
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'type' => 2,
            'from' => '2023-12-26T01:52:06',
            'to' => '2023-12-26T01:52:06',
            'sort' => 'latest',
            'sort_type' => 'desc',
            'page' => 47,
            'limit' => 4,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://demo.metafox.app/api/v1/api/quo/activitypoint/transaction"
);

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

let body = {
    "type": 2,
    "from": "2023-12-26T01:52:06",
    "to": "2023-12-26T01:52:06",
    "sort": "latest",
    "sort_type": "desc",
    "page": 47,
    "limit": 4
};

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   >>>>>> Stashed changes data-component="body" hidden>

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

sort_type  string optional   >>>>>> Stashed changes data-component="body" hidden>

Must be one of desc or asc.

page  integer optional   >>>>>> Stashed changes data-component="body" hidden>

Must be at least 1.

limit  integer optional   >>>>>> Stashed changes data-component="body" hidden>

<<<<<<< Updated upstream

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

=======

View item.

>>>>>>> Stashed changes

requires authentication

<<<<<<< Updated upstream
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

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

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

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
<<<<<<< Updated upstream
>>>>>> Stashed changes data-authed="1" data-hasfiles="0" data-isarraybody="0" data-headers='{"Authorization":"Bearer {accessToken}"}' autocomplete="off" <<<<<<< Updated upstream onsubmit="event.preventDefault(); executeTryOut('GETapi--ver--activitypoint-package--id-', this);"> ======= onsubmit="event.preventDefault(); executeTryOut('GETapi--ver--activitypoint-transaction--id-', this);"> >>>>>>> Stashed changes

Request         

GET <<<<<<< Updated upstream api/{ver}/activitypoint/package/{id}

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the package.

<<<<<<< Updated upstream

Browse item.

=======

Advertise

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

>>>>>>> Stashed changes

requires authentication

<<<<<<< Updated upstream ======= >>>>>>> Stashed changes
Example request:
curl --request GET \
<<<<<<< Updated upstream
    --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"
=======
    --get "https://demo.metafox.app/api/v1/api/perferendis/advertise/advertise" \
    --header "Content-Type: application/json" \
    --data "{
    "placement_id": 29448487.63245,
    "start_date": "dolorum",
    "end_date": "voluptatem",
    "status": "et",
    "page": 26,
    "limit": 3445.546288
>>>>>>> Stashed changes
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/nulla/activitypoint/setting',
=======
    'https://demo.metafox.app/api/v1/api/perferendis/advertise/advertise',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            'sort' => 'most_viewed',
            'sort_type' => 'desc',
=======
            'placement_id' => 29448487.63245,
            'start_date' => 'dolorum',
            'end_date' => 'voluptatem',
            'status' => 'et',
            'page' => 26,
            'limit' => 3445.546288,
>>>>>>> Stashed changes
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "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"
=======
    "https://demo.metafox.app/api/v1/api/perferendis/advertise/advertise"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "placement_id": 125.893949,
    "start_date": "ea",
    "end_date": "facilis",
    "status": "vel",
    "page": 36,
    "limit": 5.791684
=======
    "placement_id": 29448487.63245,
    "start_date": "dolorum",
    "end_date": "voluptatem",
    "status": "et",
    "page": 26,
    "limit": 3445.546288
>>>>>>> Stashed changes
};

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

Request      

GET api/{ver}/advertise/advertise

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

placement_id  number optional   >>>>>> Stashed changes data-component="body" hidden>

view  string optional  

start_date  string optional   >>>>>> Stashed changes data-component="body" hidden>

end_date  string optional   >>>>>> Stashed changes data-component="body" hidden>

status  string optional   >>>>>> Stashed changes data-component="body" hidden>

page  number optional   >>>>>> Stashed changes data-component="body" hidden>

Must be at least 1.

limit  number optional   >>>>>> Stashed changes data-component="body" hidden>

Example request:
curl --request POST \
<<<<<<< Updated upstream
    "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"
=======
    "https://demo.metafox.app/api/v1/api/dolores/advertise/advertise" \
    --header "Content-Type: application/json" \
    --data "{
    "placement_id": 2.1,
    "image": {
        "status": "quisquam",
        "temp_file": 43.5678
    },
    "url": "http:\/\/www.schuster.com\/",
    "image_tooltip": "btjprvfxkrgaldrt",
    "html_title": "xwstdcdd",
    "html_description": "yzljrseqb",
    "title": "u",
    "age_from": 25,
    "languages": [
        "assumenda"
    ],
    "start_date": "2023-12-26T01:52:06",
    "creation_type": "perspiciatis"
>>>>>>> Stashed changes
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/consequatur/advertise/advertise',
=======
    'https://demo.metafox.app/api/v1/api/dolores/advertise/advertise',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            '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',
=======
            'placement_id' => 2.1,
            'image' => [
                'status' => 'quisquam',
                'temp_file' => 43.5678,
            ],
            'url' => 'http://www.schuster.com/',
            'image_tooltip' => 'btjprvfxkrgaldrt',
            'html_title' => 'xwstdcdd',
            'html_description' => 'yzljrseqb',
            'title' => 'u',
            'age_from' => 25,
            'languages' => [
                'assumenda',
            ],
            'start_date' => '2023-12-26T01:52:06',
            'creation_type' => 'perspiciatis',
>>>>>>> Stashed changes
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/consequatur/advertise/advertise"
=======
    "https://demo.metafox.app/api/v1/api/dolores/advertise/advertise"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "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"
=======
    "placement_id": 2.1,
    "image": {
        "status": "quisquam",
        "temp_file": 43.5678
    },
    "url": "http:\/\/www.schuster.com\/",
    "image_tooltip": "btjprvfxkrgaldrt",
    "html_title": "xwstdcdd",
    "html_description": "yzljrseqb",
    "title": "u",
    "age_from": 25,
    "languages": [
        "assumenda"
    ],
    "start_date": "2023-12-26T01:52:06",
    "creation_type": "perspiciatis"
>>>>>>> Stashed changes
};

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

Request      

POST api/{ver}/advertise/advertise

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

placement_id  number   >>>>>> Stashed changes data-component="body" hidden>

image  object  

image.status  string optional   >>>>>> Stashed changes data-component="body" hidden>

This field is required when image.temp_file is present.

image.temp_file  number optional   >>>>>> Stashed changes data-component="body" hidden>

This field is required when image.id is 0.

url  string   >>>>>> Stashed changes data-component="body" hidden>

Must be a valid URL.

image_tooltip  string optional   >>>>>> Stashed changes data-component="body" hidden>

Must not be greater than 255 characters.

html_title  string optional   >>>>>> Stashed changes data-component="body" hidden>

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

html_description  string optional   >>>>>> Stashed changes data-component="body" hidden>

Must not be greater than 135 characters.

title  string   >>>>>> Stashed changes data-component="body" hidden>

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   >>>>>> Stashed changes data-component="body" hidden>

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   >>>>>> Stashed changes data-component="body" hidden>

Must be a valid date.

end_date  string optional  

creation_type  string   >>>>>> Stashed changes data-component="body" hidden>

location  object optional  

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

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the active.

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the hide.

Example request:
curl --request GET \
<<<<<<< Updated upstream
    --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"
=======
    --get "https://demo.metafox.app/api/v1/api/quo/advertise/advertise/report/72" \
    --header "Content-Type: application/json" \
    --data "{
    "report_type": "earum",
    "view": "aliquam",
    "start_date_month": "sed",
    "end_date_month": "quasi",
    "start_date_week": "veniam",
    "end_date_week": "hic",
    "start_date_day": "et",
    "end_date_day": "necessitatibus"
>>>>>>> Stashed changes
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/dolores/advertise/advertise/report/59',
=======
    'https://demo.metafox.app/api/v1/api/quo/advertise/advertise/report/72',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            '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',
=======
            'report_type' => 'earum',
            'view' => 'aliquam',
            'start_date_month' => 'sed',
            'end_date_month' => 'quasi',
            'start_date_week' => 'veniam',
            'end_date_week' => 'hic',
            'start_date_day' => 'et',
            'end_date_day' => 'necessitatibus',
>>>>>>> Stashed changes
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/dolores/advertise/advertise/report/59"
=======
    "https://demo.metafox.app/api/v1/api/quo/advertise/advertise/report/72"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "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"
=======
    "report_type": "earum",
    "view": "aliquam",
    "start_date_month": "sed",
    "end_date_month": "quasi",
    "start_date_week": "veniam",
    "end_date_week": "hic",
    "start_date_day": "et",
    "end_date_day": "necessitatibus"
>>>>>>> Stashed changes
};

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the report.

Body Parameters

report_type  string   >>>>>> Stashed changes data-component="body" hidden>

view  string   >>>>>> Stashed changes data-component="body" hidden>

start_date_month  string optional   >>>>>> Stashed changes data-component="body" hidden>

end_date_month  string optional   >>>>>> Stashed changes data-component="body" hidden>

start_date_week  string optional   >>>>>> Stashed changes data-component="body" hidden>

end_date_week  string optional   >>>>>> Stashed changes data-component="body" hidden>

start_date_day  string optional   >>>>>> Stashed changes data-component="body" hidden>

end_date_day  string optional   >>>>>> Stashed changes data-component="body" hidden>

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

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

let body = {
<<<<<<< Updated upstream
    "placement_id": 288.031187,
    "location": "suscipit"
=======
    "placement_id": 27.678470035,
    "location": "temporibus"
>>>>>>> Stashed changes
};

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

placement_id  number   >>>>>> Stashed changes data-component="body" hidden>

location  string optional   >>>>>> Stashed changes data-component="body" hidden>

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

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

let body = {
<<<<<<< Updated upstream
    "type": "velit"
=======
    "type": "et"
>>>>>>> Stashed changes
};

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the total.

Body Parameters

type  string   >>>>>> Stashed changes data-component="body" hidden>

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the advertise.

Example request:
curl --request PUT \
<<<<<<< Updated upstream
    "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"
=======
    "https://demo.metafox.app/api/v1/api/qui/advertise/advertise/20" \
    --header "Content-Type: application/json" \
    --data "{
    "title": "qk",
    "age_from": 70,
    "age_to": 896.43935001,
    "languages": [
        "sed"
>>>>>>> Stashed changes
    ]
}"
$client = new \GuzzleHttp\Client();
$response = $client->put(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/ad/advertise/advertise/7946314',
=======
    'https://demo.metafox.app/api/v1/api/qui/advertise/advertise/20',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            'title' => 'kcmufaxskcs',
            'age_from' => 19,
            'age_to' => 61613.0,
            'languages' => [
                'fugit',
=======
            'title' => 'qk',
            'age_from' => 70,
            'age_to' => 896.43935001,
            'languages' => [
                'sed',
>>>>>>> Stashed changes
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/ad/advertise/advertise/7946314"
=======
    "https://demo.metafox.app/api/v1/api/qui/advertise/advertise/20"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "title": "kcmufaxskcs",
    "age_from": 19,
    "age_to": 61613,
    "languages": [
        "fugit"
=======
    "title": "qk",
    "age_from": 70,
    "age_to": 896.43935001,
    "languages": [
        "sed"
>>>>>>> Stashed changes
    ]
};

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the advertise.

Body Parameters

title  string   >>>>>> Stashed changes data-component="body" hidden>

Must not be greater than 255 characters.

genders  string[] optional  

This field is required when genders is present.

age_from  number optional   >>>>>> Stashed changes data-component="body" hidden>

Must be at least 1.

age_to  number optional   >>>>>> Stashed changes data-component="body" hidden>

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 \
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/numquam/advertise/advertise/80"
======= "https://demo.metafox.app/api/v1/api/voluptatem/advertise/advertise/1" >>>>>>> Stashed changes
$client = new \GuzzleHttp\Client();
<<<<<<< Updated upstream
$response = $client->delete('https://demo.metafox.app/api/v1/api/numquam/advertise/advertise/80');
=======
$response = $client->delete('https://demo.metafox.app/api/v1/api/voluptatem/advertise/advertise/1');
>>>>>>> Stashed changes
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/numquam/advertise/advertise/80"
=======
    "https://demo.metafox.app/api/v1/api/voluptatem/advertise/advertise/1"
>>>>>>> Stashed changes
);

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the advertise.

Example request:
curl --request GET \
<<<<<<< Updated upstream
    --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
=======
    --get "https://demo.metafox.app/api/v1/api/quis/advertise/invoice" \
    --header "Content-Type: application/json" \
    --data "{
    "start_date": "ipsam",
    "end_date": "deserunt",
    "status": "quod",
    "page": 86,
    "limit": 4080.42995518
>>>>>>> Stashed changes
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/amet/advertise/invoice',
=======
    'https://demo.metafox.app/api/v1/api/quis/advertise/invoice',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            'start_date' => 'autem',
            'end_date' => 'quam',
            'status' => 'consequatur',
            'page' => 26,
            'limit' => 839.1,
=======
            'start_date' => 'ipsam',
            'end_date' => 'deserunt',
            'status' => 'quod',
            'page' => 86,
            'limit' => 4080.42995518,
>>>>>>> Stashed changes
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/amet/advertise/invoice"
=======
    "https://demo.metafox.app/api/v1/api/quis/advertise/invoice"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "start_date": "autem",
    "end_date": "quam",
    "status": "consequatur",
    "page": 26,
    "limit": 839.1
=======
    "start_date": "ipsam",
    "end_date": "deserunt",
    "status": "quod",
    "page": 86,
    "limit": 4080.42995518
>>>>>>> Stashed changes
};

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

Request      

GET api/{ver}/advertise/invoice

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

start_date  string optional   >>>>>> Stashed changes data-component="body" hidden>

end_date  string optional   >>>>>> Stashed changes data-component="body" hidden>

status  string optional   >>>>>> Stashed changes data-component="body" hidden>

page  number optional   >>>>>> Stashed changes data-component="body" hidden>

Must be at least 1.

limit  number optional   >>>>>> Stashed changes data-component="body" hidden>

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the cancel.

Example request:
curl --request POST \
<<<<<<< Updated upstream
    "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
=======
    "https://demo.metafox.app/api/v1/api/sunt/advertise/invoice/change" \
    --header "Content-Type: application/json" \
    --data "{
    "invoice_id": 342504438,
    "item_id": 69,
    "item_type": "quia",
    "payment_gateway": 87656410.63191
>>>>>>> Stashed changes
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/blanditiis/advertise/invoice/change',
=======
    'https://demo.metafox.app/api/v1/api/sunt/advertise/invoice/change',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            'invoice_id' => 45031522.7,
            'item_id' => 65,
            'item_type' => 'voluptatem',
            'payment_gateway' => 99502.3,
=======
            'invoice_id' => 342504438.0,
            'item_id' => 69,
            'item_type' => 'quia',
            'payment_gateway' => 87656410.63191,
>>>>>>> Stashed changes
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/blanditiis/advertise/invoice/change"
=======
    "https://demo.metafox.app/api/v1/api/sunt/advertise/invoice/change"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "invoice_id": 45031522.7,
    "item_id": 65,
    "item_type": "voluptatem",
    "payment_gateway": 99502.3
=======
    "invoice_id": 342504438,
    "item_id": 69,
    "item_type": "quia",
    "payment_gateway": 87656410.63191
>>>>>>> Stashed changes
};

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

invoice_id  number optional   >>>>>> Stashed changes data-component="body" hidden>

item_id  number   >>>>>> Stashed changes data-component="body" hidden>

Must be at least 1.

item_type  string   >>>>>> Stashed changes data-component="body" hidden>

payment_gateway  number optional   >>>>>> Stashed changes data-component="body" hidden>

Example request:
curl --request POST \
    "https://demo.metafox.app/api/v1/api/qui/advertise/invoice/payment" \
    --header "Content-Type: application/json" \
    --data "{
<<<<<<< Updated upstream
    "invoice_id": 174106500.5,
    "item_id": 86,
    "item_type": "amet",
    "payment_gateway": 133910.0030393
=======
    "invoice_id": 829,
    "item_id": 42,
    "item_type": "rerum",
    "payment_gateway": 567.59
>>>>>>> Stashed changes
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://demo.metafox.app/api/v1/api/qui/advertise/invoice/payment',
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            'invoice_id' => 174106500.5,
            'item_id' => 86,
            'item_type' => 'amet',
            'payment_gateway' => 133910.0030393,
=======
            'invoice_id' => 829.0,
            'item_id' => 42,
            'item_type' => 'rerum',
            'payment_gateway' => 567.59,
>>>>>>> Stashed changes
        ],
    ]
);
$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 = {
<<<<<<< Updated upstream
    "invoice_id": 174106500.5,
    "item_id": 86,
    "item_type": "amet",
    "payment_gateway": 133910.0030393
=======
    "invoice_id": 829,
    "item_id": 42,
    "item_type": "rerum",
    "payment_gateway": 567.59
>>>>>>> Stashed changes
};

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   >>>>>> Stashed changes data-component="body" hidden>

item_id  number   >>>>>> Stashed changes data-component="body" hidden>

Must be at least 1.

item_type  string   >>>>>> Stashed changes data-component="body" hidden>

payment_gateway  number optional   >>>>>> Stashed changes data-component="body" hidden>

Example request:
curl --request GET \
<<<<<<< Updated upstream
    --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
=======
    --get "https://demo.metafox.app/api/v1/api/ut/advertise/sponsor" \
    --header "Content-Type: application/json" \
    --data "{
    "start_date": "suscipit",
    "end_date": "quaerat",
    "status": "deleniti",
    "page": 85,
    "limit": 0
>>>>>>> Stashed changes
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/saepe/advertise/sponsor',
=======
    'https://demo.metafox.app/api/v1/api/ut/advertise/sponsor',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            'start_date' => 'eos',
            'end_date' => 'perferendis',
            'status' => 'molestiae',
            'page' => 42,
            'limit' => 136.759,
=======
            'start_date' => 'suscipit',
            'end_date' => 'quaerat',
            'status' => 'deleniti',
            'page' => 85,
            'limit' => 0.0,
>>>>>>> Stashed changes
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/saepe/advertise/sponsor"
=======
    "https://demo.metafox.app/api/v1/api/ut/advertise/sponsor"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "start_date": "eos",
    "end_date": "perferendis",
    "status": "molestiae",
    "page": 42,
    "limit": 136.759
=======
    "start_date": "suscipit",
    "end_date": "quaerat",
    "status": "deleniti",
    "page": 85,
    "limit": 0
>>>>>>> Stashed changes
};

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

Request      

GET api/{ver}/advertise/sponsor

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

start_date  string optional   >>>>>> Stashed changes data-component="body" hidden>

end_date  string optional   >>>>>> Stashed changes data-component="body" hidden>

status  string optional   >>>>>> Stashed changes data-component="body" hidden>

page  number optional   >>>>>> Stashed changes data-component="body" hidden>

Must be at least 1.

limit  number optional   >>>>>> Stashed changes data-component="body" hidden>

Example request:
curl --request POST \
<<<<<<< Updated upstream
    "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
=======
    "https://demo.metafox.app/api/v1/api/aliquam/advertise/sponsor" \
    --header "Content-Type: application/json" \
    --data "{
    "title": "rvdqwnxvpkkcaccml",
    "age_from": 64,
    "languages": [
        "tempora"
    ],
    "start_date": "2023-12-26T01:52:06",
    "item_type": "voluptatem",
    "item_id": 9,
    "total_impression": 99
>>>>>>> Stashed changes
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/ea/advertise/sponsor',
=======
    'https://demo.metafox.app/api/v1/api/aliquam/advertise/sponsor',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            'title' => 'ypvlfzulx',
            'age_from' => 56,
            'languages' => [
                'ratione',
            ],
            'start_date' => '2023-12-26T03:47:58',
            'item_type' => 'expedita',
            'item_id' => 13,
            'total_impression' => 98,
=======
            'title' => 'rvdqwnxvpkkcaccml',
            'age_from' => 64,
            'languages' => [
                'tempora',
            ],
            'start_date' => '2023-12-26T01:52:06',
            'item_type' => 'voluptatem',
            'item_id' => 9,
            'total_impression' => 99,
>>>>>>> Stashed changes
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/ea/advertise/sponsor"
=======
    "https://demo.metafox.app/api/v1/api/aliquam/advertise/sponsor"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "title": "ypvlfzulx",
    "age_from": 56,
    "languages": [
        "ratione"
    ],
    "start_date": "2023-12-26T03:47:58",
    "item_type": "expedita",
    "item_id": 13,
    "total_impression": 98
=======
    "title": "rvdqwnxvpkkcaccml",
    "age_from": 64,
    "languages": [
        "tempora"
    ],
    "start_date": "2023-12-26T01:52:06",
    "item_type": "voluptatem",
    "item_id": 9,
    "total_impression": 99
>>>>>>> Stashed changes
};

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

Request      

POST api/{ver}/advertise/sponsor

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

title  string   >>>>>> Stashed changes data-component="body" hidden>

Must not be greater than 255 characters.

genders  string[] optional  

This field is required when genders is present.

age_from  integer optional   >>>>>> Stashed changes data-component="body" hidden>

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   >>>>>> Stashed changes data-component="body" hidden>

Must be a valid date.

end_date  string optional  

item_type  string   >>>>>> Stashed changes data-component="body" hidden>

item_id  integer   >>>>>> Stashed changes data-component="body" hidden>

total_impression  integer   >>>>>> Stashed changes data-component="body" hidden>

Must be at least 100.

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the active.

Example request:
curl --request POST \
<<<<<<< Updated upstream
    "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
=======
    "https://demo.metafox.app/api/v1/api/officia/advertise/sponsor/feed" \
    --header "Content-Type: application/json" \
    --data "{
    "title": "tovldhngxvrava",
    "age_from": 17,
    "languages": [
        "et"
    ],
    "start_date": "2023-12-26T01:52:06",
    "item_type": "dolor",
    "item_id": 11,
    "total_impression": 97
>>>>>>> Stashed changes
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/eius/advertise/sponsor/feed',
=======
    'https://demo.metafox.app/api/v1/api/officia/advertise/sponsor/feed',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            'title' => 'ykvuukzrgmhaip',
            'age_from' => 70,
            'languages' => [
                'dolorem',
            ],
            'start_date' => '2023-12-26T03:47:58',
            'item_type' => 'ut',
            'item_id' => 4,
            'total_impression' => 100,
=======
            'title' => 'tovldhngxvrava',
            'age_from' => 17,
            'languages' => [
                'et',
            ],
            'start_date' => '2023-12-26T01:52:06',
            'item_type' => 'dolor',
            'item_id' => 11,
            'total_impression' => 97,
>>>>>>> Stashed changes
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/eius/advertise/sponsor/feed"
=======
    "https://demo.metafox.app/api/v1/api/officia/advertise/sponsor/feed"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "title": "ykvuukzrgmhaip",
    "age_from": 70,
    "languages": [
        "dolorem"
    ],
    "start_date": "2023-12-26T03:47:58",
    "item_type": "ut",
    "item_id": 4,
    "total_impression": 100
=======
    "title": "tovldhngxvrava",
    "age_from": 17,
    "languages": [
        "et"
    ],
    "start_date": "2023-12-26T01:52:06",
    "item_type": "dolor",
    "item_id": 11,
    "total_impression": 97
>>>>>>> Stashed changes
};

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

title  string   >>>>>> Stashed changes data-component="body" hidden>

Must not be greater than 255 characters.

genders  string[] optional  

This field is required when genders is present.

age_from  integer optional   >>>>>> Stashed changes data-component="body" hidden>

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   >>>>>> Stashed changes data-component="body" hidden>

Must be a valid date.

end_date  string optional  

item_type  string   >>>>>> Stashed changes data-component="body" hidden>

item_id  integer   >>>>>> Stashed changes data-component="body" hidden>

total_impression  integer   >>>>>> Stashed changes data-component="body" hidden>

Must be at least 100.

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

itemType  string   >>>>>> Stashed changes data-component="url" hidden>

itemId  string   >>>>>> Stashed changes data-component="url" hidden>

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

itemType  string   >>>>>> Stashed changes data-component="url" hidden>

itemId  string   >>>>>> Stashed changes data-component="url" hidden>

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the sponsor.

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

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

let body = {
<<<<<<< Updated upstream
    "title": "ltegcgyvpkoyrmzzadbyg",
    "age_from": 20,
    "languages": [
        "eveniet"
=======
    "title": "rxrvoqjmjepjpuwwtmiokbtvy",
    "age_from": 87,
    "languages": [
        "repellat"
>>>>>>> Stashed changes
    ]
};

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the sponsor.

Body Parameters

title  string   >>>>>> Stashed changes data-component="body" hidden>

Must not be greater than 255 characters.

genders  string[] optional  

This field is required when genders is present.

age_from  integer optional   >>>>>> Stashed changes data-component="body" hidden>

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 \
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/aut/advertise/sponsor/4"
======= "https://demo.metafox.app/api/v1/api/eveniet/advertise/sponsor/3" >>>>>>> Stashed changes
$client = new \GuzzleHttp\Client();
<<<<<<< Updated upstream
$response = $client->delete('https://demo.metafox.app/api/v1/api/aut/advertise/sponsor/4');
=======
$response = $client->delete('https://demo.metafox.app/api/v1/api/eveniet/advertise/sponsor/3');
>>>>>>> Stashed changes
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/aut/advertise/sponsor/4"
=======
    "https://demo.metafox.app/api/v1/api/eveniet/advertise/sponsor/3"
>>>>>>> Stashed changes
);

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the sponsor.

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

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

let body = {
<<<<<<< Updated upstream
    "item_type": "voluptatibus",
=======
    "item_type": "qui",
>>>>>>> Stashed changes
    "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   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

item_type  string   >>>>>> Stashed changes data-component="body" hidden>

item_ids  object  

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

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

let body = {
<<<<<<< Updated upstream
    "item_type": "animi",
=======
    "item_type": "possimus",
>>>>>>> Stashed changes
    "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   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

item_type  string   >>>>>> Stashed changes data-component="body" hidden>

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 \
<<<<<<< Updated upstream
    --get "https://demo.metafox.app/api/v1/api/itaque/announcement?limit=10" \
=======
    --get "https://demo.metafox.app/api/v1/api/quas/announcement?limit=10" \
>>>>>>> Stashed changes
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/itaque/announcement',
=======
    'https://demo.metafox.app/api/v1/api/quas/announcement',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
        'query' => [
            'limit'=> '10',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/itaque/announcement"
=======
    "https://demo.metafox.app/api/v1/api/quas/announcement"
>>>>>>> Stashed changes
);

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   >>>>>> Stashed changes data-component="url" hidden>

Query Parameters

limit  integer optional  

The items to return.

Browse announcement.

requires authentication

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

const params = {
    "announcement_id": "170.22",
=======
    "https://demo.metafox.app/api/v1/api/velit/announcement/view"
);

const params = {
    "announcement_id": "0.65137511",
>>>>>>> Stashed changes
    "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   >>>>>> Stashed changes data-component="url" hidden>

Query Parameters

announcement_id  number   >>>>>> Stashed changes data-component="query" hidden>

limit  integer optional  

The items to return.

Hide announcement.

requires authentication

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

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

let body = {
<<<<<<< Updated upstream
    "announcement_id": 73
=======
    "announcement_id": 51
>>>>>>> Stashed changes
};

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

Request      

POST api/{ver}/announcement/view

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

announcement_id  number   >>>>>> Stashed changes data-component="body" hidden>

Must be at least 1.

View announcement.

requires authentication

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

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

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 \
<<<<<<< Updated upstream
    "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" 
======= "https://demo.metafox.app/api/v1/api/necessitatibus/attachment" \ --header "Content-Type: multipart/form-data" \ --form "storage_id=repudiandae" \ --form "item_type=commodi" \ --form "upload_type=consequatur" \ --form "file=@/tmp/phpwuoO4n" >>>>>>> Stashed changes
$client = new \GuzzleHttp\Client();
$response = $client->post(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/explicabo/attachment',
=======
    'https://demo.metafox.app/api/v1/api/necessitatibus/attachment',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Content-Type' => 'multipart/form-data',
        ],
        'multipart' => [
            [
                'name' => 'storage_id',
<<<<<<< Updated upstream
                'contents' => 'aliquid'
            ],
            [
                'name' => 'item_type',
                'contents' => 'dicta'
            ],
            [
                'name' => 'upload_type',
                'contents' => 'qui'
            ],
            [
                'name' => 'file',
                'contents' => fopen('/tmp/phpwYJTtw', 'r')
=======
                'contents' => 'repudiandae'
            ],
            [
                'name' => 'item_type',
                'contents' => 'commodi'
            ],
            [
                'name' => 'upload_type',
                'contents' => 'consequatur'
            ],
            [
                'name' => 'file',
                'contents' => fopen('/tmp/phpwuoO4n', 'r')
>>>>>>> Stashed changes
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/explicabo/attachment"
=======
    "https://demo.metafox.app/api/v1/api/necessitatibus/attachment"
>>>>>>> Stashed changes
);

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

const body = new FormData();
<<<<<<< Updated upstream
body.append('storage_id', 'aliquid');
body.append('item_type', 'dicta');
body.append('upload_type', 'qui');
=======
body.append('storage_id', 'repudiandae');
body.append('item_type', 'commodi');
body.append('upload_type', 'consequatur');
>>>>>>> Stashed changes
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   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

storage_id  string optional   >>>>>> Stashed changes data-component="body" hidden>

file  file  

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

item_type  string   >>>>>> Stashed changes data-component="body" hidden>

upload_type  string optional   >>>>>> Stashed changes data-component="body" hidden>

Allow downloading resource.

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

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 \
<<<<<<< Updated upstream
    "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"
=======
    "https://demo.metafox.app/api/v1/api/sed/authorization/device" \
    --header "Content-Type: application/json" \
    --data "{
    "device_token": "sunt",
    "device_id": "et",
    "device_uid": "at",
    "token_source": "provident",
    "platform": "perferendis",
    "platform_version": "sunt"
>>>>>>> Stashed changes
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/quidem/authorization/device',
=======
    'https://demo.metafox.app/api/v1/api/sed/authorization/device',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            'device_token' => 'porro',
            'device_id' => 'ad',
            'device_uid' => 'cum',
            'token_source' => 'expedita',
            'platform' => 'eligendi',
            'platform_version' => 'accusamus',
=======
            'device_token' => 'sunt',
            'device_id' => 'et',
            'device_uid' => 'at',
            'token_source' => 'provident',
            'platform' => 'perferendis',
            'platform_version' => 'sunt',
>>>>>>> Stashed changes
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/quidem/authorization/device"
=======
    "https://demo.metafox.app/api/v1/api/sed/authorization/device"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "device_token": "porro",
    "device_id": "ad",
    "device_uid": "cum",
    "token_source": "expedita",
    "platform": "eligendi",
    "platform_version": "accusamus"
=======
    "device_token": "sunt",
    "device_id": "et",
    "device_uid": "at",
    "token_source": "provident",
    "platform": "perferendis",
    "platform_version": "sunt"
>>>>>>> Stashed changes
};

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

Request      

POST api/{ver}/authorization/device

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

device_token  string   >>>>>> Stashed changes data-component="body" hidden>

device_id  string   >>>>>> Stashed changes data-component="body" hidden>

device_uid  string optional   >>>>>> Stashed changes data-component="body" hidden>

token_source  string   >>>>>> Stashed changes data-component="body" hidden>

platform  string optional   >>>>>> Stashed changes data-component="body" hidden>

platform_version  string optional   >>>>>> Stashed changes data-component="body" hidden>

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 \
<<<<<<< Updated upstream
    --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" \
=======
    --get "https://demo.metafox.app/api/v1/api/ducimus/blog?q=doloremque&view=search&sort=recent&sort_type=asc&when=today&category_id=2&user_id=0&owner_id=6&page=11&limit=14" \
>>>>>>> Stashed changes
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/iste/blog',
=======
    'https://demo.metafox.app/api/v1/api/ducimus/blog',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
        'query' => [
<<<<<<< Updated upstream
            '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',
=======
            'q'=> 'doloremque',
            'view'=> 'search',
            'sort'=> 'recent',
            'sort_type'=> 'asc',
            'when'=> 'today',
            'category_id'=> '2',
            'user_id'=> '0',
            'owner_id'=> '6',
            'page'=> '11',
            'limit'=> '14',
>>>>>>> Stashed changes
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "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",
=======
    "https://demo.metafox.app/api/v1/api/ducimus/blog"
);

const params = {
    "q": "doloremque",
    "view": "search",
    "sort": "recent",
    "sort_type": "asc",
    "when": "today",
    "category_id": "2",
    "user_id": "0",
    "owner_id": "6",
    "page": "11",
    "limit": "14",
>>>>>>> Stashed changes
};
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   >>>>>> Stashed changes data-component="url" hidden>

Query Parameters

q  string optional   >>>>>> Stashed changes data-component="query" hidden>

view  string optional   >>>>>> Stashed changes data-component="query" hidden>

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

sort  string optional   >>>>>> Stashed changes data-component="query" hidden>

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   >>>>>> Stashed changes data-component="query" hidden>

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

category_id  integer optional   >>>>>> Stashed changes data-component="query" hidden>

user_id  integer optional  

The profile id to filter.

owner_id  integer optional   >>>>>> Stashed changes data-component="query" hidden>

page  integer optional   >>>>>> Stashed changes data-component="query" hidden>

Must be at least 1.

limit  integer optional   >>>>>> Stashed changes data-component="query" hidden>

is_featured  string optional  

Create blog.

requires authentication

Example request:
curl --request POST \
<<<<<<< Updated upstream
    "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"
=======
    "https://demo.metafox.app/api/v1/api/velit/blog" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "title": "omnis",
    "categories": [
        506431.9
    ],
    "owner_id": 373077.66798603,
    "file": {
        "temp_file": 8738.267627759
    },
    "text": "et",
    "draft": 72040385.95,
    "tags": [
        "ut"
    ],
    "privacy": "quos",
    "attachments": [
        "qui"
>>>>>>> Stashed changes
    ]
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/est/blog',
=======
    'https://demo.metafox.app/api/v1/api/velit/blog',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            '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',
=======
            'title' => 'omnis',
            'categories' => [
                506431.9,
            ],
            'owner_id' => 373077.66798603,
            'file' => [
                'temp_file' => 8738.267627759,
            ],
            'text' => 'et',
            'draft' => 72040385.95,
            'tags' => [
                'ut',
            ],
            'privacy' => 'quos',
            'attachments' => [
                'qui',
>>>>>>> Stashed changes
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/est/blog"
=======
    "https://demo.metafox.app/api/v1/api/velit/blog"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "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"
=======
    "title": "omnis",
    "categories": [
        506431.9
    ],
    "owner_id": 373077.66798603,
    "file": {
        "temp_file": 8738.267627759
    },
    "text": "et",
    "draft": 72040385.95,
    "tags": [
        "ut"
    ],
    "privacy": "quos",
    "attachments": [
        "qui"
>>>>>>> Stashed changes
    ]
};

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

Request      

POST api/{ver}/blog

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

title  string   >>>>>> Stashed changes data-component="body" hidden>

categories  number[] optional  

owner_id  number optional   >>>>>> Stashed changes data-component="body" hidden>

file  object optional  

file.temp_file  number optional   >>>>>> Stashed changes data-component="body" hidden>

This field is required when file is present.

text  string   >>>>>> Stashed changes data-component="body" hidden>

draft  number optional   >>>>>> Stashed changes data-component="body" hidden>

tags  string[] optional  

privacy  string   >>>>>> Stashed changes data-component="body" hidden>

captcha  string optional  

attachments  number[] optional  

attachments[].id  number optional   >>>>>> Stashed changes data-component="body" hidden>

attachments[].status  string optional   >>>>>> Stashed changes data-component="body" hidden>

Display a listing of the resource.

requires authentication

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

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

let body = {
<<<<<<< Updated upstream
    "id": 374692.696,
    "page": 20,
    "q": "dolorem",
    "level": 497753.583085078,
    "limit": 2285.05442649
=======
    "id": 32024571.848685045,
    "page": 5,
    "q": "ea",
    "level": 8.2576,
    "limit": 20294916.5
>>>>>>> Stashed changes
};

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

Request      

GET api/{ver}/blog-category

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

id  number optional   >>>>>> Stashed changes data-component="body" hidden>

page  number optional   >>>>>> Stashed changes data-component="body" hidden>

Must be at least 1.

q  string optional   >>>>>> Stashed changes data-component="body" hidden>

level  number optional   >>>>>> Stashed changes data-component="body" hidden>

limit  number optional   >>>>>> Stashed changes data-component="body" hidden>

Approve blog.

requires authentication

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

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the approve.

Feature blog.

requires authentication

Example request:
curl --request PATCH \
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/voluptatem/blog/feature/50" \
=======
    "https://demo.metafox.app/api/v1/api/recusandae/blog/feature/52" \
>>>>>>> Stashed changes
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "feature": "1"
}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/voluptatem/blog/feature/50',
=======
    'https://demo.metafox.app/api/v1/api/recusandae/blog/feature/52',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
            'feature' => '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/voluptatem/blog/feature/50"
=======
    "https://demo.metafox.app/api/v1/api/recusandae/blog/feature/52"
>>>>>>> Stashed changes
);

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the feature.

Body Parameters

feature  number   >>>>>> Stashed changes data-component="body" hidden>

Must be one of 0 or 1.

GET api/{ver}/blog/form

requires authentication

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

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

let body = {
<<<<<<< Updated upstream
    "owner_id": 573
=======
    "owner_id": 8.9424
>>>>>>> Stashed changes
};

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

Request      

GET api/{ver}/blog/form

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

owner_id  number optional   >>>>>> Stashed changes data-component="body" hidden>

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

requires authentication

Example request:
curl --request GET \
<<<<<<< Updated upstream
    --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
=======
    --get "https://demo.metafox.app/api/v1/api/modi/blog/form/80287" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "owner_id": 811
>>>>>>> Stashed changes
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/esse/blog/form/25890',
=======
    'https://demo.metafox.app/api/v1/api/modi/blog/form/80287',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            'owner_id' => 197194673.0,
=======
            'owner_id' => 811.0,
>>>>>>> Stashed changes
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/esse/blog/form/25890"
=======
    "https://demo.metafox.app/api/v1/api/modi/blog/form/80287"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "owner_id": 197194673
=======
    "owner_id": 811
>>>>>>> Stashed changes
};

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the form.

Body Parameters

owner_id  number optional   >>>>>> Stashed changes data-component="body" hidden>

Publish blog.

requires authentication

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

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the publish.

Get search form.

requires authentication

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

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   >>>>>> Stashed changes data-component="url" hidden>

Sponsor blog in feed.

requires authentication

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

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

let body = {
<<<<<<< Updated upstream
    "sponsor": 0
=======
    "sponsor": 53.00029182
>>>>>>> Stashed changes
};

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the sponsor in feed.

Body Parameters

sponsor  number   >>>>>> Stashed changes data-component="body" hidden>

Sponsor blog.

requires authentication

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

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

let body = {
<<<<<<< Updated upstream
    "sponsor": "eveniet"
=======
    "sponsor": "natus"
>>>>>>> Stashed changes
};

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the sponsor.

Body Parameters

sponsor  string   >>>>>> Stashed changes data-component="body" hidden>

View Blog.

requires authentication

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

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the blog.

Update blog.

requires authentication

Example request:
curl --request PUT \
<<<<<<< Updated upstream
    "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"
=======
    "https://demo.metafox.app/api/v1/api/alias/blog/38907406" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "title": "nesciunt",
    "categories": [
        57
    ],
    "file": {
        "temp_file": 2973180.9,
        "status": "ullam"
    },
    "text": "quod",
    "tags": [
        "ipsa"
    ],
    "draft": 5.0625443,
    "published": false,
    "attachments": [
        "aut"
>>>>>>> Stashed changes
    ]
}"
$client = new \GuzzleHttp\Client();
$response = $client->put(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/nobis/blog/38',
=======
    'https://demo.metafox.app/api/v1/api/alias/blog/38907406',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            'title' => 'saepe',
            'categories' => [
                45,
            ],
            'file' => [
                'temp_file' => 6742.9259109,
                'status' => 'harum',
            ],
            'text' => 'ut',
            'tags' => [
                'nihil',
            ],
            'draft' => 235679775.375,
            'published' => false,
            'attachments' => [
                'ab',
=======
            'title' => 'nesciunt',
            'categories' => [
                57,
            ],
            'file' => [
                'temp_file' => 2973180.9,
                'status' => 'ullam',
            ],
            'text' => 'quod',
            'tags' => [
                'ipsa',
            ],
            'draft' => 5.0625443,
            'published' => false,
            'attachments' => [
                'aut',
>>>>>>> Stashed changes
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/nobis/blog/38"
=======
    "https://demo.metafox.app/api/v1/api/alias/blog/38907406"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "title": "saepe",
    "categories": [
        45
    ],
    "file": {
        "temp_file": 6742.9259109,
        "status": "harum"
    },
    "text": "ut",
    "tags": [
        "nihil"
    ],
    "draft": 235679775.375,
    "published": false,
    "attachments": [
        "ab"
=======
    "title": "nesciunt",
    "categories": [
        57
    ],
    "file": {
        "temp_file": 2973180.9,
        "status": "ullam"
    },
    "text": "quod",
    "tags": [
        "ipsa"
    ],
    "draft": 5.0625443,
    "published": false,
    "attachments": [
        "aut"
>>>>>>> Stashed changes
    ]
};

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the blog.

Body Parameters

title  string optional   >>>>>> Stashed changes data-component="body" hidden>

categories  integer[] optional  

Must be at least 1.

file  object optional  

file.temp_file  number optional   >>>>>> Stashed changes data-component="body" hidden>

This field is required when file.status is update.

file.status  string optional   >>>>>> Stashed changes data-component="body" hidden>

This field is required when file is present.

text  string optional   >>>>>> Stashed changes data-component="body" hidden>

tags  string[] optional  

draft  number optional   >>>>>> Stashed changes data-component="body" hidden>

published  boolean optional  

privacy  string optional  

attachments  number[] optional  

attachments[].id  number optional   >>>>>> Stashed changes data-component="body" hidden>

attachments[].status  string optional   >>>>>> Stashed changes data-component="body" hidden>

Delete blog.

requires authentication

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

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

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 \
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/molestiae/captcha/verify" \
    --header "Content-Type: application/json" \
    --data "{
    "action_name": "exercitationem"
=======
    "https://demo.metafox.app/api/v1/api/corrupti/captcha/verify" \
    --header "Content-Type: application/json" \
    --data "{
    "action_name": "omnis"
>>>>>>> Stashed changes
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/molestiae/captcha/verify',
=======
    'https://demo.metafox.app/api/v1/api/corrupti/captcha/verify',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            'action_name' => 'exercitationem',
=======
            'action_name' => 'omnis',
>>>>>>> Stashed changes
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/molestiae/captcha/verify"
=======
    "https://demo.metafox.app/api/v1/api/corrupti/captcha/verify"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "action_name": "exercitationem"
=======
    "action_name": "omnis"
>>>>>>> Stashed changes
};

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

Request      

POST api/{ver}/captcha/verify

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

action_name  string optional   >>>>>> Stashed changes data-component="body" hidden>

captcha  string optional  

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

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Chat

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

GET api/{ver}/chat

Example request:
curl --request GET \
<<<<<<< Updated upstream
    --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
=======
    --get "https://demo.metafox.app/api/v1/api/praesentium/chat" \
    --header "Content-Type: application/json" \
    --data "{
    "q": "ratione",
    "room_id": 0.4348,
    "last_message_id": 155459.64826118,
    "page": 13,
    "limit": 18
>>>>>>> Stashed changes
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/a/chat',
=======
    'https://demo.metafox.app/api/v1/api/praesentium/chat',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            'q' => 'et',
            'room_id' => 195132.0,
            'last_message_id' => 0.162,
            'page' => 27,
            'limit' => 1,
=======
            'q' => 'ratione',
            'room_id' => 0.4348,
            'last_message_id' => 155459.64826118,
            'page' => 13,
            'limit' => 18,
>>>>>>> Stashed changes
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/a/chat"
=======
    "https://demo.metafox.app/api/v1/api/praesentium/chat"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "q": "et",
    "room_id": 195132,
    "last_message_id": 0.162,
    "page": 27,
    "limit": 1
=======
    "q": "ratione",
    "room_id": 0.4348,
    "last_message_id": 155459.64826118,
    "page": 13,
    "limit": 18
>>>>>>> Stashed changes
};

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

Request      

GET api/{ver}/chat

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

q  string optional   >>>>>> Stashed changes data-component="body" hidden>

room_id  number optional   >>>>>> Stashed changes data-component="body" hidden>

last_message_id  number optional   >>>>>> Stashed changes data-component="body" hidden>

page  integer optional   >>>>>> Stashed changes data-component="body" hidden>

Must be at least 1.

limit  integer optional   >>>>>> Stashed changes data-component="body" hidden>

POST api/{ver}/chat

Example request:
curl --request POST \
<<<<<<< Updated upstream
    "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"
=======
    "https://demo.metafox.app/api/v1/api/modi/chat" \
    --header "Content-Type: application/json" \
    --data "{
    "room_id": 912.385,
    "message": "molestiae",
    "type": "ea",
    "reply_id": 13,
    "tempId": "et",
    "attachments": [
        "non"
>>>>>>> Stashed changes
    ]
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/dolorem/chat',
=======
    'https://demo.metafox.app/api/v1/api/modi/chat',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            'room_id' => 1043.56669,
            'message' => 'aut',
            'type' => 'nihil',
            'reply_id' => 10,
            'tempId' => 'praesentium',
            'attachments' => [
                'vel',
=======
            'room_id' => 912.385,
            'message' => 'molestiae',
            'type' => 'ea',
            'reply_id' => 13,
            'tempId' => 'et',
            'attachments' => [
                'non',
>>>>>>> Stashed changes
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/dolorem/chat"
=======
    "https://demo.metafox.app/api/v1/api/modi/chat"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "room_id": 1043.56669,
    "message": "aut",
    "type": "nihil",
    "reply_id": 10,
    "tempId": "praesentium",
    "attachments": [
        "vel"
=======
    "room_id": 912.385,
    "message": "molestiae",
    "type": "ea",
    "reply_id": 13,
    "tempId": "et",
    "attachments": [
        "non"
>>>>>>> Stashed changes
    ]
};

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

Request      

POST api/{ver}/chat

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

room_id  number optional   >>>>>> Stashed changes data-component="body" hidden>

message  string optional   >>>>>> Stashed changes data-component="body" hidden>

type  string optional   >>>>>> Stashed changes data-component="body" hidden>

reply_id  integer optional   >>>>>> Stashed changes data-component="body" hidden>

tempId  string optional   >>>>>> Stashed changes data-component="body" hidden>

attachments  number[] optional  

attachments[].id  number optional   >>>>>> Stashed changes data-component="body" hidden>

attachments[].status  string optional   >>>>>> Stashed changes data-component="body" hidden>

GET api/{ver}/chat-room

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

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

let body = {
<<<<<<< Updated upstream
    "q": "id",
    "page": 32,
    "limit": 4
=======
    "q": "reprehenderit",
    "page": 2,
    "limit": 15
>>>>>>> Stashed changes
};

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

Request      

GET api/{ver}/chat-room

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

q  string optional   >>>>>> Stashed changes data-component="body" hidden>

page  integer optional   >>>>>> Stashed changes data-component="body" hidden>

Must be at least 1.

limit  integer optional   >>>>>> Stashed changes data-component="body" hidden>

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": [
<<<<<<< Updated upstream
        17.922829
    ],
    "users": [
        "reprehenderit"
=======
        445795
    ],
    "users": [
        "dolores"
>>>>>>> Stashed changes
    ]
}"
$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' => [
<<<<<<< Updated upstream
                17.922829,
            ],
            'users' => [
                'reprehenderit',
=======
                445795.0,
            ],
            'users' => [
                'dolores',
>>>>>>> Stashed changes
            ],
        ],
    ]
);
$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": [
<<<<<<< Updated upstream
        17.922829
    ],
    "users": [
        "reprehenderit"
=======
        445795
    ],
    "users": [
        "dolores"
>>>>>>> Stashed changes
    ]
};

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   >>>>>> Stashed changes data-component="body" hidden>

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

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

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

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

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

let body = {
    "room_ids": [
<<<<<<< Updated upstream
        5.863
=======
        3235742.880443
>>>>>>> Stashed changes
    ]
};

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   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

room_ids  number[] optional  

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

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the mark read.

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

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the chat room.

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

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the chat room.

Display the specified resource.

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the download.

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

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

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

let body = {
<<<<<<< Updated upstream
    "react": "consequatur",
    "remove": false
=======
    "react": "aut",
    "remove": true
>>>>>>> Stashed changes
};

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the react.

Body Parameters

react  string optional   >>>>>> Stashed changes data-component="body" hidden>

remove  boolean optional  

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

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the remove.

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

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the chat.

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

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

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

let body = {
<<<<<<< Updated upstream
    "message": "quam",
    "type": "ratione"
=======
    "message": "placeat",
    "type": "harum"
>>>>>>> Stashed changes
};

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the chat.

Body Parameters

message  string optional   >>>>>> Stashed changes data-component="body" hidden>

type  string optional   >>>>>> Stashed changes data-component="body" hidden>

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 \
<<<<<<< Updated upstream
    --get "https://demo.metafox.app/api/v1/api/fuga/chatplus/can-create-direct-message/et/ut/est" \
=======
    --get "https://demo.metafox.app/api/v1/api/magni/chatplus/can-create-direct-message/rem/voluptates/eum" \
>>>>>>> Stashed changes
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/fuga/chatplus/can-create-direct-message/et/ut/est',
=======
    'https://demo.metafox.app/api/v1/api/magni/chatplus/can-create-direct-message/rem/voluptates/eum',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/fuga/chatplus/can-create-direct-message/et/ut/est"
=======
    "https://demo.metafox.app/api/v1/api/magni/chatplus/can-create-direct-message/rem/voluptates/eum"
>>>>>>> Stashed changes
);

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   >>>>>> Stashed changes data-component="url" hidden>

type  string   >>>>>> Stashed changes data-component="url" hidden>

id_from  string   >>>>>> Stashed changes data-component="url" hidden>

id_to  string   >>>>>> Stashed changes data-component="url" hidden>

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

requires authentication

Example request:
curl --request GET \
<<<<<<< Updated upstream
    --get "https://demo.metafox.app/api/v1/api/maxime/chatplus/export-users" \
=======
    --get "https://demo.metafox.app/api/v1/api/earum/chatplus/export-users" \
>>>>>>> Stashed changes
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/maxime/chatplus/export-users',
=======
    'https://demo.metafox.app/api/v1/api/earum/chatplus/export-users',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/maxime/chatplus/export-users"
=======
    "https://demo.metafox.app/api/v1/api/earum/chatplus/export-users"
>>>>>>> Stashed changes
);

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   >>>>>> Stashed changes data-component="url" hidden>

GET api/{ver}/chatplus/jobs

requires authentication

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

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   >>>>>> Stashed changes data-component="url" hidden>

GET api/{ver}/chatplus/me

requires authentication

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

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   >>>>>> Stashed changes data-component="url" hidden>

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

requires authentication

Example request:
curl --request GET \
<<<<<<< Updated upstream
    --get "https://demo.metafox.app/api/v1/api/aspernatur/chatplus/prefetch-users" \
=======
    --get "https://demo.metafox.app/api/v1/api/impedit/chatplus/prefetch-users" \
>>>>>>> Stashed changes
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/aspernatur/chatplus/prefetch-users',
=======
    'https://demo.metafox.app/api/v1/api/impedit/chatplus/prefetch-users',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/aspernatur/chatplus/prefetch-users"
=======
    "https://demo.metafox.app/api/v1/api/impedit/chatplus/prefetch-users"
>>>>>>> Stashed changes
);

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   >>>>>> Stashed changes data-component="url" hidden>

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

requires authentication

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

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

let body = {
<<<<<<< Updated upstream
    "userId": "sint",
    "roomId": "fuga",
    "token": "molestiae",
    "msg": "ea",
=======
    "userId": "porro",
    "roomId": "cum",
    "token": "amet",
    "msg": "voluptas",
>>>>>>> Stashed changes
    "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   >>>>>> Stashed changes data-component="url" hidden>

room_id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the room.

Body Parameters

userId  string   >>>>>> Stashed changes data-component="body" hidden>

roomId  string   >>>>>> Stashed changes data-component="body" hidden>

token  string   >>>>>> Stashed changes data-component="body" hidden>

msg  string optional   >>>>>> Stashed changes data-component="body" hidden>

file  object  

GET api/{ver}/chatplus/settings

requires authentication

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

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   >>>>>> Stashed changes data-component="url" hidden>

GET api/{ver}/chatplus/spotlight

requires authentication

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

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   >>>>>> Stashed changes data-component="url" hidden>

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

requires authentication

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

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   >>>>>> Stashed changes data-component="url" hidden>

type  string   >>>>>> Stashed changes data-component="url" hidden>

query  string   >>>>>> Stashed changes data-component="url" hidden>

Comment

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

Browse comments.

requires authentication

Example request:
curl --request GET \
<<<<<<< Updated upstream
    --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
=======
    --get "https://demo.metafox.app/api/v1/api/numquam/comment" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "item_id": 249662.719142,
    "item_type": "quaerat",
    "parent_id": 1.35,
    "page": 18,
    "limit": 64773.17385,
    "sort": "exercitationem",
    "sort_type": "sit",
    "last_id": 15520.56549708,
    "excludes": [
        4265.6564994
>>>>>>> Stashed changes
    ],
    "comment_id": 17
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/dolorem/comment',
=======
    'https://demo.metafox.app/api/v1/api/numquam/comment',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            '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,
=======
            'item_id' => 249662.719142,
            'item_type' => 'quaerat',
            'parent_id' => 1.35,
            'page' => 18,
            'limit' => 64773.17385,
            'sort' => 'exercitationem',
            'sort_type' => 'sit',
            'last_id' => 15520.56549708,
            'excludes' => [
                4265.6564994,
>>>>>>> Stashed changes
            ],
            'comment_id' => 17,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/dolorem/comment"
=======
    "https://demo.metafox.app/api/v1/api/numquam/comment"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "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
=======
    "item_id": 249662.719142,
    "item_type": "quaerat",
    "parent_id": 1.35,
    "page": 18,
    "limit": 64773.17385,
    "sort": "exercitationem",
    "sort_type": "sit",
    "last_id": 15520.56549708,
    "excludes": [
        4265.6564994
>>>>>>> Stashed changes
    ],
    "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   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

item_id  number   >>>>>> Stashed changes data-component="body" hidden>

item_type  string   >>>>>> Stashed changes data-component="body" hidden>

parent_id  number optional   >>>>>> Stashed changes data-component="body" hidden>

page  number optional  

Must be at least 1.

limit  number optional   >>>>>> Stashed changes data-component="body" hidden>

sort  string optional   >>>>>> Stashed changes data-component="body" hidden>

sort_type  string optional   >>>>>> Stashed changes data-component="body" hidden>

last_id  number optional   >>>>>> Stashed changes data-component="body" hidden>

excludes  number[] optional  

comment_id  integer optional  

Create comment.

requires authentication

Example request:
curl --request POST \
<<<<<<< Updated upstream
    "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
=======
    "https://demo.metafox.app/api/v1/api/et/comment" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "item_id": 16826.25733665,
    "item_type": "molestiae",
    "text": "modi",
    "parent_id": 28392404.964,
    "photo_id": 0.9,
    "sticker_id": 793.7186
>>>>>>> Stashed changes
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/qui/comment',
=======
    'https://demo.metafox.app/api/v1/api/et/comment',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            'item_id' => 13522102.018,
            'item_type' => 'repudiandae',
            'text' => 'libero',
            'parent_id' => 5221.792771,
            'photo_id' => 499676.0,
            'sticker_id' => 107.51954636,
=======
            'item_id' => 16826.25733665,
            'item_type' => 'molestiae',
            'text' => 'modi',
            'parent_id' => 28392404.964,
            'photo_id' => 0.9,
            'sticker_id' => 793.7186,
>>>>>>> Stashed changes
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/qui/comment"
=======
    "https://demo.metafox.app/api/v1/api/et/comment"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "item_id": 13522102.018,
    "item_type": "repudiandae",
    "text": "libero",
    "parent_id": 5221.792771,
    "photo_id": 499676,
    "sticker_id": 107.51954636
=======
    "item_id": 16826.25733665,
    "item_type": "molestiae",
    "text": "modi",
    "parent_id": 28392404.964,
    "photo_id": 0.9,
    "sticker_id": 793.7186
>>>>>>> Stashed changes
};

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

Request      

POST api/{ver}/comment

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

item_id  number   >>>>>> Stashed changes data-component="body" hidden>

item_type  string   >>>>>> Stashed changes data-component="body" hidden>

text  string optional   >>>>>> Stashed changes data-component="body" hidden>

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

parent_id  number optional   >>>>>> Stashed changes data-component="body" hidden>

photo_id  number optional   >>>>>> Stashed changes data-component="body" hidden>

sticker_id  number optional   >>>>>> Stashed changes data-component="body" hidden>

captcha  string optional  

GET api/{ver}/comment-lists

requires authentication

Example request:
curl --request GET \
<<<<<<< Updated upstream
    --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
=======
    --get "https://demo.metafox.app/api/v1/api/cum/comment-lists" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "item_id": 4549153.88,
    "item_type": "est",
    "parent_id": 387151.04879,
    "page": 25,
    "limit": 114370259.32651,
    "sort": "nisi",
    "sort_type": "praesentium",
    "last_id": 818235.929,
    "excludes": [
        0.93
    ],
    "comment_id": 3
>>>>>>> Stashed changes
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/quos/comment-lists',
=======
    'https://demo.metafox.app/api/v1/api/cum/comment-lists',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            '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,
=======
            'item_id' => 4549153.88,
            'item_type' => 'est',
            'parent_id' => 387151.04879,
            'page' => 25,
            'limit' => 114370259.32651,
            'sort' => 'nisi',
            'sort_type' => 'praesentium',
            'last_id' => 818235.929,
            'excludes' => [
                0.93,
            ],
            'comment_id' => 3,
>>>>>>> Stashed changes
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/quos/comment-lists"
=======
    "https://demo.metafox.app/api/v1/api/cum/comment-lists"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "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
=======
    "item_id": 4549153.88,
    "item_type": "est",
    "parent_id": 387151.04879,
    "page": 25,
    "limit": 114370259.32651,
    "sort": "nisi",
    "sort_type": "praesentium",
    "last_id": 818235.929,
    "excludes": [
        0.93
    ],
    "comment_id": 3
>>>>>>> Stashed changes
};

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

Request      

GET api/{ver}/comment-lists

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

item_id  number   >>>>>> Stashed changes data-component="body" hidden>

item_type  string   >>>>>> Stashed changes data-component="body" hidden>

parent_id  number optional   >>>>>> Stashed changes data-component="body" hidden>

page  number optional   >>>>>> Stashed changes data-component="body" hidden>

Must be at least 1.

limit  number optional   >>>>>> Stashed changes data-component="body" hidden>

sort  string optional   >>>>>> Stashed changes data-component="body" hidden>

sort_type  string optional   >>>>>> Stashed changes data-component="body" hidden>

last_id  number optional   >>>>>> Stashed changes data-component="body" hidden>

excludes  number[] optional  

comment_id  integer optional   >>>>>> Stashed changes data-component="body" hidden>

Approve comment.

requires authentication

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

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the approve.

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

requires authentication

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

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the download.

POST api/{ver}/comment/hide

requires authentication

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

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

let body = {
<<<<<<< Updated upstream
    "comment_id": 23041.63567,
    "is_hidden": "nostrum"
=======
    "comment_id": 2278185.671,
    "is_hidden": "laudantium"
>>>>>>> Stashed changes
};

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

Request      

POST api/{ver}/comment/hide

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

comment_id  number   >>>>>> Stashed changes data-component="body" hidden>

is_hidden  string   >>>>>> Stashed changes data-component="body" hidden>

is_global  string optional  

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

requires authentication

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

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the history edit.

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

requires authentication

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

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the preview.

requires authentication

Example request:
curl --request GET \
<<<<<<< Updated upstream
    --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
=======
    --get "https://demo.metafox.app/api/v1/api/dignissimos/comment/related-comment" \
    --header "Authorization: Bearer {accessToken}" \
    --header "Content-Type: application/json" \
    --data "{
    "item_id": 3677475.22301311,
    "item_type": "et",
    "parent_id": 846145.431,
    "page": 30,
    "limit": 4717,
    "sort": "provident",
    "sort_type": "numquam",
    "last_id": 15073.36,
    "excludes": [
        0.4382
    ],
    "comment_id": 15
>>>>>>> Stashed changes
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/nemo/comment/related-comment',
=======
    'https://demo.metafox.app/api/v1/api/dignissimos/comment/related-comment',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            '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,
=======
            'item_id' => 3677475.22301311,
            'item_type' => 'et',
            'parent_id' => 846145.431,
            'page' => 30,
            'limit' => 4717.0,
            'sort' => 'provident',
            'sort_type' => 'numquam',
            'last_id' => 15073.36,
            'excludes' => [
                0.4382,
            ],
            'comment_id' => 15,
>>>>>>> Stashed changes
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/nemo/comment/related-comment"
=======
    "https://demo.metafox.app/api/v1/api/dignissimos/comment/related-comment"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "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
=======
    "item_id": 3677475.22301311,
    "item_type": "et",
    "parent_id": 846145.431,
    "page": 30,
    "limit": 4717,
    "sort": "provident",
    "sort_type": "numquam",
    "last_id": 15073.36,
    "excludes": [
        0.4382
    ],
    "comment_id": 15
>>>>>>> Stashed changes
};

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

View comment.

requires authentication

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

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the comment.

Update comment.

requires authentication

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

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

let body = {
<<<<<<< Updated upstream
    "text": "vitae",
    "is_hide": 145259.605212902
=======
    "text": "quam",
    "is_hide": 0.0894
>>>>>>> Stashed changes
};

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the comment.

Body Parameters

text  string optional   >>>>>> Stashed changes data-component="body" hidden>

photo_id  string optional  

is_hide  number optional   >>>>>> Stashed changes data-component="body" hidden>

sticker_id  string optional  

Remove comment.

requires authentication

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

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

The ID of the comment.

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

requires authentication

Example request:
curl --request PATCH \
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/aut/comment/7/remove-preview" \
=======
    "https://demo.metafox.app/api/v1/api/delectus/comment/6998/remove-preview" \
>>>>>>> Stashed changes
    --header "Authorization: Bearer {accessToken}"
$client = new \GuzzleHttp\Client();
$response = $client->patch(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/aut/comment/7/remove-preview',
=======
    'https://demo.metafox.app/api/v1/api/delectus/comment/6998/remove-preview',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Authorization' => 'Bearer {accessToken}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/aut/comment/7/remove-preview"
=======
    "https://demo.metafox.app/api/v1/api/delectus/comment/6998/remove-preview"
>>>>>>> Stashed changes
);

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   >>>>>> Stashed changes data-component="url" hidden>

id  string   >>>>>> Stashed changes data-component="url" hidden>

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 \
<<<<<<< Updated upstream
    "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
=======
    "https://demo.metafox.app/api/v1/api/dolorum/contact" \
    --header "Content-Type: application/json" \
    --data "{
    "category_id": 5,
    "full_name": "j",
    "subject": "z",
    "email": "[email protected]",
    "message": "veniam",
    "send_copy": 18
>>>>>>> Stashed changes
}"
$client = new \GuzzleHttp\Client();
$response = $client->post(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/occaecati/contact',
=======
    'https://demo.metafox.app/api/v1/api/dolorum/contact',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            'category_id' => 11,
            'full_name' => 'mz',
            'subject' => 'ya',
            'email' => '[email protected]',
            'message' => 'voluptatem',
            'send_copy' => 16,
=======
            'category_id' => 5,
            'full_name' => 'j',
            'subject' => 'z',
            'email' => '[email protected]',
            'message' => 'veniam',
            'send_copy' => 18,
>>>>>>> Stashed changes
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/occaecati/contact"
=======
    "https://demo.metafox.app/api/v1/api/dolorum/contact"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "category_id": 11,
    "full_name": "mz",
    "subject": "ya",
    "email": "[email protected]",
    "message": "voluptatem",
    "send_copy": 16
=======
    "category_id": 5,
    "full_name": "j",
    "subject": "z",
    "email": "[email protected]",
    "message": "veniam",
    "send_copy": 18
>>>>>>> Stashed changes
};

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

Request      

POST api/{ver}/contact

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

category_id  integer   >>>>>> Stashed changes data-component="body" hidden>

full_name  string   >>>>>> Stashed changes data-component="body" hidden>

Must be between 1 and 255 characters.

subject  string   >>>>>> Stashed changes data-component="body" hidden>

Must be between 1 and 255 characters.

email  string   >>>>>> Stashed changes data-component="body" hidden>

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

message  string   >>>>>> Stashed changes data-component="body" hidden>

send_copy  integer optional   >>>>>> Stashed changes data-component="body" hidden>

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 \
<<<<<<< Updated upstream
    --get "https://demo.metafox.app/api/v1/api/nemo/core/admin/settings/sit"
======= --get "https://demo.metafox.app/api/v1/api/ratione/core/admin/settings/expedita" >>>>>>> Stashed changes
$client = new \GuzzleHttp\Client();
<<<<<<< Updated upstream
$response = $client->get('https://demo.metafox.app/api/v1/api/nemo/core/admin/settings/sit');
=======
$response = $client->get('https://demo.metafox.app/api/v1/api/ratione/core/admin/settings/expedita');
>>>>>>> Stashed changes
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/nemo/core/admin/settings/sit"
=======
    "https://demo.metafox.app/api/v1/api/ratione/core/admin/settings/expedita"
>>>>>>> Stashed changes
);

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

revision  string optional   >>>>>> Stashed changes data-component="url" hidden>

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

Example request:
curl --request GET \
<<<<<<< Updated upstream
    --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"
=======
    --get "https://demo.metafox.app/api/v1/api/est/core/custom-privacy-option" \
    --header "Content-Type: application/json" \
    --data "{
    "item_type": "ad",
    "item_id": 0,
    "page": 35,
    "limit": 0.1637286,
    "sort": "voluptas",
    "sort_type": "et"
>>>>>>> Stashed changes
}"
$client = new \GuzzleHttp\Client();
$response = $client->get(
<<<<<<< Updated upstream
    'https://demo.metafox.app/api/v1/api/qui/core/custom-privacy-option',
=======
    'https://demo.metafox.app/api/v1/api/est/core/custom-privacy-option',
>>>>>>> Stashed changes
    [
        'headers' => [
            'Content-Type' => 'application/json',
        ],
        'json' => [
<<<<<<< Updated upstream
            'item_type' => 'corporis',
            'item_id' => 16.0,
            'page' => 31,
            'limit' => 25643037.02631,
            'sort' => 'ut',
            'sort_type' => 'eos',
=======
            'item_type' => 'ad',
            'item_id' => 0.0,
            'page' => 35,
            'limit' => 0.1637286,
            'sort' => 'voluptas',
            'sort_type' => 'et',
>>>>>>> Stashed changes
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
<<<<<<< Updated upstream
    "https://demo.metafox.app/api/v1/api/qui/core/custom-privacy-option"
=======
    "https://demo.metafox.app/api/v1/api/est/core/custom-privacy-option"
>>>>>>> Stashed changes
);

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

let body = {
<<<<<<< Updated upstream
    "item_type": "corporis",
    "item_id": 16,
    "page": 31,
    "limit": 25643037.02631,
    "sort": "ut",
    "sort_type": "eos"
=======
    "item_type": "ad",
    "item_id": 0,
    "page": 35,
    "limit": 0.1637286,
    "sort": "voluptas",
    "sort_type": "et"
>>>>>>> Stashed changes
};

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   >>>>>> Stashed changes data-component="url" hidden>

Body Parameters

item_type  string optional   >>>>>> Stashed changes data-component="body" hidden>

item_id  number optional   >>>>>> Stashed changes data-component="body" hidden>

page  number optional   >>>>>> Stashed changes data-component="body" hidden>

Must be at least 1.

limit  number optional   >>>>>> Stashed changes data-component="body" hidden>

sort  string optional   >>>>>> Stashed changes data-component="body" hidden>

sort_type  string optional   >>>>>> Stashed changes data-component="body" hidden>

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

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

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

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

formName  string   >>>>>> Stashed changes data-component="url" hidden>

id  string optional   >>>>>> Stashed changes data-component="url" hidden>

The ID of the .

View app settings.

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

View app settings.

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

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

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

formName  string   >>>>>> Stashed changes data-component="url" hidden>

id  string optional   >>>>>> Stashed changes data-component="url" hidden>

The ID of the .

View app settings.

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

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

Request      

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

URL Parameters

ver  string   >>>>>> Stashed changes data-component="url" hidden>

revision  string optional   >>>>>> Stashed changes data-component="url" hidden>

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

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

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

let body = {
<<<<<<< Updated upstream
    "buildId": "illo"
=======
    "buildId": "laudantium"
>>>>>>> Stashed changes
};

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   >>>>>> Stashed changes data-component="url" hidden>