MENU navbar-image

Introduction

This documentation aims to provide all the information you need to work with our API.

Base URL

http://localhost/api/v1

Authenticating requests

Authenticate requests to this API's endpoints by sending an Authorization header with the value "Bearer {YOUR_AUTH_KEY}".

All authenticated endpoints are marked with a requires authentication badge in the documentation below.

You can retrieve your token with api Generate API token.

activitypoint

Browse item.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost/api/v1/activitypoint-package?q=consectetur" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"q\": \"libero\",
    \"sort\": \"most_viewed\",
    \"sort_type\": \"asc\",
    \"page\": 0,
    \"limit\": 3
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /activitypoint-package

Query Parameters

q  string optional  

search text

Body Parameters

q  string optional  

sort  string optional  

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

sort_type  string optional  

Must be one of desc or asc.

page  integer optional  

Must be at least 1.

limit  integer optional  

POST /activitypoint-package/purchase/{id}

requires authentication

Example request:
curl --request POST \
    "http://localhost/api/v1/activitypoint-package/purchase/67" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"payment_gateway\": 2
}"

Request      

POST /activitypoint-package/purchase/{id}

URL Parameters

id  string  

The ID of the purchase.

Body Parameters

payment_gateway  integer  

View item.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost/api/v1/activitypoint-package/09570" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /activitypoint-package/{id}

URL Parameters

id  string  

The ID of the activitypoint package.

Browse item.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost/api/v1/activitypoint-setting" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"sort\": \"recent\",
    \"sort_type\": \"asc\"
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /activitypoint-setting

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 "http://localhost/api/v1/activitypoint-statistic/7" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /activitypoint-statistic/{id}

URL Parameters

id  string  

The ID of the activitypoint statistic.

Browse item.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost/api/v1/activitypoint-transaction" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"type\": 13,
    \"from\": \"2022-10-03T07:29:37\",
    \"to\": \"2022-10-03T07:29:37\",
    \"sort\": \"most_discussed\",
    \"sort_type\": \"desc\",
    \"page\": 0,
    \"limit\": 17
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /activitypoint-transaction

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 "http://localhost/api/v1/activitypoint-transaction/70724" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /activitypoint-transaction/{id}

URL Parameters

id  string  

The ID of the activitypoint transaction.

coreoo

View Suggestions.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/search/suggestion" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"limit\": 8,
    \"q\": \"quis\"
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /search/suggestion

Body Parameters

limit  number optional  

Must be at least 10.

q  string optional  

Endpoints

GET /quiz/form/{id?}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/quiz/form/5634" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"owner_id\": 163163.93108
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /quiz/form/{id?}

URL Parameters

id  string optional  

The ID of the .

Body Parameters

owner_id  number optional  

GET /quiz/search-form

Example request:
curl --request GET \
    --get "http://localhost/api/v1/quiz/search-form" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /quiz/search-form

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/quiz" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"q\": \"vrk\",
    \"view\": \"omnis\",
    \"sort\": \"dolorum\",
    \"sort_type\": \"vel\",
    \"when\": \"suscipit\",
    \"user_id\": 0.5,
    \"page\": 1,
    \"limit\": 28.701
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /quiz

Body Parameters

q  string optional  

Must be at least 3 characters.

view  string optional  

sort  string optional  

sort_type  string optional  

when  string optional  

user_id  number optional  

page  number optional  

Must be at least 1.

limit  number optional  

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost/api/v1/quiz" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"ksupfqkjqmdowhdhrnefsmtrqykaueopnzdskbbxrugciynpbrsllesqwymejfpunvxijtltfdyuazewcniwsgovaafjkcddmytiifenjzubmokkdgzsrfeuwluobzjgzaglp\",
    \"text\": \"voluptatem\",
    \"questions\": [
        {
            \"question\": \"nkdjofjhklkqlbdarcyuepazxldotefnmmfagaqktiougrapgyacwfhejtpkgavasuvnapmiumcuxzvzxrtxcivpysziqzaglee\",
            \"answers\": [
                {
                    \"answer\": \"epwblwbwvfpwcoldnofwloqgkjkpouymjizmfmsckijzovwuyvvmcwkczwsunfoaomridypiychegjdojxqhlwwxxnzvbwnuysevwzvasckwgewjplwdiwrzckakiwckgbecyvkskudnivsjfnjpyyenenidnldqoikfjoosnfwejpoanogqv\",
                    \"is_correct\": 825670.1454179
                }
            ]
        }
    ],
    \"owner_id\": 2.4,
    \"file\": {
        \"temp_file\": 3014.506
    },
    \"privacy\": \"incidunt\",
    \"attachments\": [
        {
            \"id\": 37929.08258
        }
    ]
}"

Request      

POST /quiz

Body Parameters

title  string  

Must be between 3 and 255 characters.

text  string  

questions  object[] optional  

questions[].question  string  

Must be between 3 and 255 characters.

questions[].answers  object[] optional  

questions[].answers[].answer  string  

Must be between 1 and 255 characters.

questions[].answers[].is_correct  number optional  

owner_id  number optional  

file  object optional  

file.temp_file  number optional  

This field is required when file is present.

privacy  string  

attachments  object[] optional  

attachments[].id  number optional  

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/quiz/043" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /quiz/{id}

URL Parameters

id  string  

The ID of the quiz.

Update the specified resource in storage.

Example request:
curl --request PUT \
    "http://localhost/api/v1/quiz/35" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vspswyzhfuyfedtmfjuztpogahrdunlwufwvcatpbkgglkttdmtdgdphnizvppvovlzeupjkolvclzhcqepruhtkfojhowamhvgyrcanftm\",
    \"text\": \"enim\",
    \"questions\": [
        {
            \"id\": 799465.0452,
            \"question\": \"huhrwtzswakyyularquqiternbgvqrkjuvraiocfgjqzauwqhmrwjlwllbiobczbktepsgzwh\",
            \"answers\": [
                {
                    \"id\": 3.64204877,
                    \"answer\": \"pqnnhiljpjysfmrvilpdyrnpozoajhgjbzrugdpniqqhtqpstzmodrtlazcoyxnvyuommdrnkxkeyxsjiycbma\",
                    \"is_correct\": 119591245
                }
            ]
        }
    ],
    \"item_id\": 2405,
    \"file\": {
        \"temp_file\": 244118.5,
        \"status\": \"et\"
    },
    \"attachments\": [
        {
            \"id\": 1
        }
    ]
}"

Request      

PUT /quiz/{id}

PATCH /quiz/{id}

URL Parameters

id  string  

The ID of the quiz.

Body Parameters

title  string optional  

Must be between 3 and 255 characters.

text  string optional  

questions  object[] optional  

questions[].id  number optional  

questions[].question  string optional  

This field is required when questions.* is present. Must be between 3 and 255 characters.

questions[].answers  object[] optional  

questions[].answers[].id  number optional  

questions[].answers[].answer  string optional  

This field is required when questions..answers. is present. Must be between 1 and 255 characters.

questions[].answers[].is_correct  number optional  

item_id  number optional  

file  object optional  

file.temp_file  number optional  

This field is required when file.status is update.

file.status  string optional  

This field is required when file is present.

privacy  string optional  

attachments  object[] optional  

attachments[].id  number optional  

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost/api/v1/quiz/9" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

DELETE /quiz/{id}

URL Parameters

id  string  

The ID of the quiz.

PATCH /quiz/approve/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/quiz/approve/68" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

PATCH /quiz/approve/{id}

URL Parameters

id  string  

The ID of the approve.

PATCH /quiz/feature/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/quiz/feature/4829" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"feature\": \"0\"
}"

Request      

PATCH /quiz/feature/{id}

URL Parameters

id  string  

The ID of the feature.

Body Parameters

feature  number  

Must be one of 0 or 1.

PATCH /quiz/sponsor/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/quiz/sponsor/9" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"sponsor\": \"molestiae\"
}"

Request      

PATCH /quiz/sponsor/{id}

URL Parameters

id  string  

The ID of the sponsor.

Body Parameters

sponsor  string  

PATCH /quiz/sponsor-in-feed/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/quiz/sponsor-in-feed/57577521" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"sponsor\": \"1\"
}"

Request      

PATCH /quiz/sponsor-in-feed/{id}

URL Parameters

id  string  

The ID of the sponsor in feed.

Body Parameters

sponsor  number  

Must be one of 0 or 1.

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/quiz-result" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"quiz_id\": 0,
    \"page\": 1,
    \"limit\": 81484.33324163
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /quiz-result

Body Parameters

quiz_id  number  

Must be at least 1.

page  number optional  

Must be at least 1.

limit  number optional  

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost/api/v1/quiz-result" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"quiz_id\": 0,
    \"answers\": \"d\"
}"

Request      

POST /quiz-result

Body Parameters

quiz_id  number  

Must be at least 1.

answers  string[]  

Must have at least 1 items.

GET /poll/search-form

Example request:
curl --request GET \
    --get "http://localhost/api/v1/poll/search-form" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /poll/search-form

GET /poll/status-form

Example request:
curl --request GET \
    --get "http://localhost/api/v1/poll/status-form" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /poll/status-form

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/poll" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"q\": \"fugiat\",
    \"view\": \"nihil\",
    \"sort\": \"nihil\",
    \"sort_type\": \"dolorum\",
    \"when\": \"et\",
    \"user_id\": 20610.22764,
    \"page\": 1,
    \"limit\": 77427.1599668
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /poll

Body Parameters

q  string optional  

view  string optional  

sort  string optional  

sort_type  string optional  

when  string optional  

user_id  number optional  

page  number optional  

Must be at least 1.

limit  number optional  

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost/api/v1/poll" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"question\": \"at\",
    \"answers\": [
        {
            \"answer\": \"gelegedecukqfyykdnmdvppypujytdqanzbirefpwrw\"
        }
    ],
    \"owner_id\": 9274885.254,
    \"file\": {
        \"temp_file\": 61522210.06627201
    },
    \"text\": \"perspiciatis\",
    \"background\": \"#:9a6):EdC\",
    \"percentage\": \"#:CF2):060\",
    \"border\": \"#:740:7e4\",
    \"enable_close\": 728025.6871533,
    \"close_time\": \"2022-10-03T07:29:38\",
    \"is_multiple\": 769555.99,
    \"public_vote\": 261470.37118,
    \"randomize\": 674.03,
    \"privacy\": \"nostrum\",
    \"attachments\": [
        {
            \"id\": 348.19,
            \"status\": \"eos\"
        }
    ]
}"

Request      

POST /poll

Body Parameters

question  string  

answers  object[] optional  

answers[].answer  string  

Must be between 1 and 50 characters.

owner_id  number optional  

file  object optional  

file.temp_file  number optional  

This field is required when file is present.

text  string optional  

background  string optional  

The value format is invalid.

percentage  string optional  

The value format is invalid.

border  string optional  

The value format is invalid.

enable_close  number optional  

close_time  string optional  

This field is required when enable_close is 1. Must be a valid date.

is_multiple  number optional  

public_vote  number optional  

randomize  number optional  

privacy  string  

attachments  object[] optional  

attachments[].id  number optional  

attachments[].status  string optional  

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/poll/530" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /poll/{id}

URL Parameters

id  string  

The ID of the poll.

Update the specified resource in storage.

Example request:
curl --request PUT \
    "http://localhost/api/v1/poll/5855" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"question\": \"optio\",
    \"answers\": [
        {
            \"id\": 267.1,
            \"answer\": \"iuxvwxhurwpoa\"
        }
    ],
    \"item_id\": 0.85,
    \"file\": [
        \"et\"
    ],
    \"text\": \"blanditiis\",
    \"background\": \"oakiqs\",
    \"percentage\": \"umtxmc\",
    \"border\": \"xbwwyg\",
    \"enable_close\": 527263706.3036564,
    \"close_time\": \"2022-10-03T07:29:38\",
    \"is_multiple\": 31.5,
    \"public_vote\": 426923.52496629,
    \"randomize\": 4347.5734,
    \"has_banner\": 407497096,
    \"attachments\": [
        {
            \"id\": 253917822.2509,
            \"status\": \"sunt\"
        }
    ]
}"

Request      

PUT /poll/{id}

PATCH /poll/{id}

URL Parameters

id  string  

The ID of the poll.

Body Parameters

question  string optional  

answers  object[] optional  

answers[].id  number optional  

answers[].answer  string optional  

This field is required when answers is present. Must be between 1 and 50 characters.

item_id  number optional  

file  string[] optional  

text  string optional  

background  string optional  

Must be 6 characters.

percentage  string optional  

Must be 6 characters.

border  string optional  

Must be 6 characters.

enable_close  number optional  

close_time  string optional  

This field is required when enable_close is 1. Must be a valid date.

is_multiple  number optional  

public_vote  number optional  

randomize  number optional  

privacy  string optional  

has_banner  number optional  

attachments  object[] optional  

attachments[].id  number optional  

attachments[].status  string optional  

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost/api/v1/poll/210" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

DELETE /poll/{id}

URL Parameters

id  string  

The ID of the poll.

PATCH /poll/approve/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/poll/approve/39" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

PATCH /poll/approve/{id}

URL Parameters

id  string  

The ID of the approve.

PATCH /poll/sponsor/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/poll/sponsor/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"sponsor\": \"dolores\"
}"

Request      

PATCH /poll/sponsor/{id}

URL Parameters

id  string  

The ID of the sponsor.

Body Parameters

sponsor  string  

PATCH /poll/feature/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/poll/feature/0" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"feature\": \"1\"
}"

Request      

PATCH /poll/feature/{id}

URL Parameters

id  string  

The ID of the feature.

Body Parameters

feature  number  

Must be one of 0 or 1.

PATCH /poll/sponsor-in-feed/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/poll/sponsor-in-feed/57166" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"sponsor\": \"0\"
}"

Request      

PATCH /poll/sponsor-in-feed/{id}

URL Parameters

id  string  

The ID of the sponsor in feed.

Body Parameters

sponsor  number  

Must be one of 0 or 1.

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/poll-result" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"poll_id\": 1,
    \"answer_id\": 1,
    \"page\": 1,
    \"limit\": 65890
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /poll-result

Body Parameters

poll_id  number optional  

This field is required when answer_id is not present. Must be at least 1.

answer_id  number optional  

Must be at least 1.

page  number optional  

Must be at least 1.

limit  number optional  

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost/api/v1/poll-result" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"poll_id\": 0,
    \"answers\": \"m\"
}"

Request      

POST /poll-result

Body Parameters

poll_id  number  

Must be at least 1.

answers  string[]  

Must have at least 1 items.

Update the specified resource in storage.

Example request:
curl --request PUT \
    "http://localhost/api/v1/poll-result/0" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"answers\": \"\"
}"

Request      

PUT /poll-result/{id}

PATCH /poll-result/{id}

URL Parameters

id  string  

The ID of the poll result.

Body Parameters

answers  string[] optional  

Must have at least 1 items.

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/photo-category" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"id\": 5.6462,
    \"page\": 1,
    \"limit\": 247441
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /photo-category

Body Parameters

id  number optional  

page  number optional  

Must be at least 1.

limit  number optional  

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost/api/v1/photo-category" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"nfyliugnipmmrvhfzzunexguoubalqnymloxnadgdgwmosoodvhgmhajohbtcvstgwdxgzkvggmojuprhmwiirw\",
    \"name_url\": \"oqcfauukmvwcvdnvsgtrfpflmduenzlmnsrailuxjcfeckovsktfvxppvapzzdcgjiywxkylfppfdntgncfowmvazamewizjpqfqhxhtvjmkmxbiuqjwdhjughadbgqzmtjhjacpq\",
    \"is_active\": 131.242591576,
    \"ordering\": 21914,
    \"parent_id\": 35.959
}"

Request      

POST /photo-category

Body Parameters

name  string  

Must be between 3 and 255 characters.

name_url  string optional  

Must be between 3 and 255 characters.

is_active  number optional  

ordering  number optional  

parent_id  number optional  

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/photo-category/0" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /photo-category/{id}

URL Parameters

id  string  

The ID of the photo category.

Update the specified resource in storage.

Example request:
curl --request PUT \
    "http://localhost/api/v1/photo-category/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"linmfem\",
    \"name_url\": \"ebqzttafsvdvpbuawtxsukeotrhytqcdcjnvnuezytjsfzaqqysbrfjaqlfvqrzvzuyfjcytkxzsdbcnojxrwgpjxrhjsuqjbnf\",
    \"is_active\": 8349068.1569,
    \"ordering\": 547654.3,
    \"parent_id\": 91648.3508
}"

Request      

PUT /photo-category/{id}

PATCH /photo-category/{id}

URL Parameters

id  string  

The ID of the photo category.

Body Parameters

name  string optional  

Must be between 3 and 255 characters.

name_url  string optional  

Must be between 3 and 255 characters.

is_active  number optional  

ordering  number optional  

parent_id  number optional  

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost/api/v1/photo-category/88" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"migrate_items\": 469582.63,
    \"new_category_id\": 14041.94426
}"

Request      

DELETE /photo-category/{id}

URL Parameters

id  string  

The ID of the photo category.

Body Parameters

migrate_items  number  

new_category_id  number optional  

This field is required when migrate_items is 1.

PATCH /photo-album/sponsor/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/photo-album/sponsor/079" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"sponsor\": \"inventore\"
}"

Request      

PATCH /photo-album/sponsor/{id}

URL Parameters

id  string  

The ID of the sponsor.

Body Parameters

sponsor  string  

PATCH /photo-album/feature/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/photo-album/feature/56" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"feature\": \"1\"
}"

Request      

PATCH /photo-album/feature/{id}

URL Parameters

id  string  

The ID of the feature.

Body Parameters

feature  number  

Must be one of 0 or 1.

PATCH /photo-album/approve/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/photo-album/approve/75" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

PATCH /photo-album/approve/{id}

URL Parameters

id  string  

The ID of the approve.

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/photo-album/items/814570" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"sort\": \"animi\",
    \"sort_type\": \"nemo\",
    \"page\": 0,
    \"limit\": 645.03896536
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /photo-album/items/{id}

URL Parameters

id  string  

The ID of the item.

Body Parameters

sort  string optional  

sort_type  string optional  

page  number optional  

Must be at least 1.

limit  number optional  

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/photo-album" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"q\": \"aliquid\",
    \"user_id\": 790,
    \"view\": \"facilis\",
    \"sort\": \"assumenda\",
    \"sort_type\": \"quas\",
    \"when\": \"qui\",
    \"page\": 1,
    \"limit\": 3808.401169
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /photo-album

Body Parameters

q  string optional  

user_id  number optional  

view  string optional  

sort  string optional  

sort_type  string optional  

when  string optional  

page  number optional  

Must be at least 1.

limit  number optional  

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost/api/v1/photo-album" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"zuwdbtmsstdxhtupsbcmdwzhotikcwtjkfbknxthhixjgzjomwuzcuftnaxretgfqajfduwhyuyhwcrluywnloqifbookagtenfxacrgdwxrynymodoiqnpgylabqqkgpfhwwicgxseoccgwgyrbjjufsyurnhyuwemhvqwgforhbbupjzglpoggz\",
    \"text\": \"id\",
    \"owner_id\": 417.5806,
    \"items\": [
        \"eveniet\"
    ]
}"

Request      

POST /photo-album

Body Parameters

name  string optional  

Must be between 3 and 255 characters.

text  string optional  

owner_id  number optional  

privacy  string optional  

items  string[] optional  

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/photo-album/61" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /photo-album/{id}

URL Parameters

id  string  

The ID of the photo album.

Update the specified resource in storage.

Example request:
curl --request PUT \
    "http://localhost/api/v1/photo-album/35859" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"qdtrdejqinatxqffbctbryesgcblmyuordgktehenkuirvskbueiatmzqxirhgovqiglxbpvrkiqqznbvlpfiqdoftldqnqtmwkmxcjxikcszpoautvtahgstsbxdtpqimravnvixvaurpmezbqgmxqqbnfaglao\",
    \"text\": \"doloremque\",
    \"owner_id\": 2362,
    \"items\": [
        \"praesentium\"
    ]
}"

Request      

PUT /photo-album/{id}

PATCH /photo-album/{id}

URL Parameters

id  string  

The ID of the photo album.

Body Parameters

name  string optional  

Must be between 3 and 255 characters.

text  string optional  

owner_id  number optional  

privacy  string optional  

items  string[] optional  

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost/api/v1/photo-album/046511" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

DELETE /photo-album/{id}

URL Parameters

id  string  

The ID of the photo album.

GET /photo/form/{id?}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/photo/form/6791" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"owner_id\": 7.3297
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /photo/form/{id?}

URL Parameters

id  string optional  

The ID of the .

Body Parameters

owner_id  number optional  

PUT /photo/profile-cover/{id}

Example request:
curl --request PUT \
    "http://localhost/api/v1/photo/profile-cover/94" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_id\": 17,
    \"position\": \"sint\"
}"

Request      

PUT /photo/profile-cover/{id}

URL Parameters

id  string  

The ID of the profile cover.

Body Parameters

user_id  integer optional  

position  string optional  

PUT /photo/profile-avatar/{id}

Example request:
curl --request PUT \
    "http://localhost/api/v1/photo/profile-avatar/374460013" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

PUT /photo/profile-avatar/{id}

URL Parameters

id  string  

The ID of the profile avatar.

PUT /photo/parent-cover/{id}

Example request:
curl --request PUT \
    "http://localhost/api/v1/photo/parent-cover/4" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

PUT /photo/parent-cover/{id}

URL Parameters

id  string  

The ID of the parent cover.

PATCH /photo/sponsor/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/photo/sponsor/0" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"sponsor\": \"tempore\"
}"

Request      

PATCH /photo/sponsor/{id}

URL Parameters

id  string  

The ID of the sponsor.

Body Parameters

sponsor  string  

PATCH /photo/feature/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/photo/feature/5104" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"feature\": \"0\"
}"

Request      

PATCH /photo/feature/{id}

URL Parameters

id  string  

The ID of the feature.

Body Parameters

feature  number  

Must be one of 0 or 1.

PATCH /photo/approve/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/photo/approve/903" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

PATCH /photo/approve/{id}

URL Parameters

id  string  

The ID of the approve.

PATCH /photo/sponsor-in-feed/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/photo/sponsor-in-feed/80986" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"sponsor\": \"1\"
}"

Request      

PATCH /photo/sponsor-in-feed/{id}

URL Parameters

id  string  

The ID of the sponsor in feed.

Body Parameters

sponsor  number  

Must be one of 0 or 1.

GET /photo-tag

Example request:
curl --request GET \
    --get "http://localhost/api/v1/photo-tag" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"item_id\": 5451124.663
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /photo-tag

Body Parameters

item_id  number  

POST /photo-tag

Example request:
curl --request POST \
    "http://localhost/api/v1/photo-tag" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"item_id\": 9.32794655,
    \"tag_user_id\": 131301.413,
    \"px\": 0,
    \"py\": 0
}"

Request      

POST /photo-tag

Body Parameters

item_id  number  

tag_user_id  number  

px  number optional  

Must be at least 0.

py  number optional  

Must be at least 0.

DELETE /photo-tag/{id}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/photo-tag/82" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

DELETE /photo-tag/{id}

URL Parameters

id  string  

The ID of the photo tag.

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/photo-set/0303" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /photo-set/{id}

URL Parameters

id  string  

The ID of the photo set.

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/photo" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_id\": 9069.56933934,
    \"category_id\": 5774.7655102,
    \"album_id\": 140892.52188395,
    \"group_id\": 34.72397151,
    \"q\": \"atque\",
    \"tag\": \"optio\",
    \"feed_id\": 0,
    \"view\": \"qui\",
    \"sort\": \"voluptatem\",
    \"sort_type\": \"deserunt\",
    \"when\": \"in\",
    \"page\": 0,
    \"limit\": 274.250437
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /photo

Body Parameters

user_id  number optional  

category_id  number optional  

album_id  number optional  

group_id  number optional  

q  string optional  

tag  string optional  

feed_id  number optional  

view  string optional  

sort  string optional  

sort_type  string optional  

when  string optional  

page  number optional  

Must be at least 1.

limit  number optional  

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost/api/v1/photo" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"categories\": [
        6.7574
    ],
    \"album\": 607092779.7251,
    \"owner_id\": 0.6285,
    \"tags\": [
        \"modi\"
    ],
    \"files\": [
        {
            \"id\": 2130431.19306068,
            \"type\": \"tenetur\",
            \"status\": \"et\"
        }
    ],
    \"thumbnail_sizes\": [
        \"iusto\"
    ],
    \"privacy\": \"voluptatem\",
    \"location\": {
        \"address\": \"ut\",
        \"lat\": 1446.244667266,
        \"lng\": 2159.1917407
    },
    \"add_new_album\": 21.174,
    \"new_album\": {
        \"name\": \"nisi\",
        \"description\": \"maiores\"
    }
}"

Request      

POST /photo

Body Parameters

categories  number[] optional  

album  number optional  

owner_id  number optional  

tags  string[] optional  

files  object[] optional  

files[].id  number optional  

This field is required when files is present.

files[].type  string optional  

This field is required when files is present.

files[].status  string optional  

thumbnail_sizes  string[] optional  

privacy  string  

location  object optional  

location.address  string optional  

location.lat  number optional  

location.lng  number optional  

add_new_album  number optional  

new_album  object optional  

new_album.name  string optional  

This field is required when add_new_album is 1.

new_album.description  string optional  

new_album.privacy  string optional  

This field is required when add_new_album is 1.

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/photo/3" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /photo/{id}

URL Parameters

id  string  

The ID of the photo.

Update the specified resource in storage.

Example request:
curl --request PUT \
    "http://localhost/api/v1/photo/53" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"excepturi\",
    \"categories\": [
        3.342122
    ],
    \"album\": 351587.058697,
    \"tags\": [
        \"maxime\"
    ],
    \"text\": \"maxime\",
    \"location\": {
        \"address\": \"eligendi\",
        \"lat\": 21032.7145,
        \"lng\": 57641945.398159
    }
}"

Request      

PUT /photo/{id}

PATCH /photo/{id}

URL Parameters

id  string  

The ID of the photo.

Body Parameters

title  string optional  

categories  number[] optional  

album  number optional  

tags  string[] optional  

text  string optional  

privacy  string optional  

location  object optional  

location.address  string optional  

location.lat  number optional  

location.lng  number optional  

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost/api/v1/photo/00" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

DELETE /photo/{id}

URL Parameters

id  string  

The ID of the photo.

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/page-type" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"page\": 1,
    \"limit\": 1505864
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /page-type

Body Parameters

page  number optional  

Must be at least 1.

limit  number optional  

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/page-category" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"page\": 1,
    \"type_id\": 34429.848226,
    \"limit\": 2753.41725066
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /page-category

Body Parameters

page  number optional  

Must be at least 1.

type_id  number optional  

limit  number optional  

POST /page/avatar/{id}

Example request:
curl --request POST \
    "http://localhost/api/v1/page/avatar/6988" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "image_crop=animi" \
    --form "[email protected]/private/var/folders/r5/rts9t28n7_qdl8vh68xlsdgr0000gp/T/phpj6eY3y" 

Request      

POST /page/avatar/{id}

URL Parameters

id  string  

The ID of the avatar.

Body Parameters

image  file optional  

Must be an image. Must not be greater than 10240 kilobytes.

image_crop  string  

POST /page/cover/{id}

Example request:
curl --request POST \
    "http://localhost/api/v1/page/cover/1098" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "position=voluptas" \
    --form "[email protected]/private/var/folders/r5/rts9t28n7_qdl8vh68xlsdgr0000gp/T/phpyPaXbJ" 

Request      

POST /page/cover/{id}

URL Parameters

id  string  

The ID of the cover.

Body Parameters

image  file optional  

Must be an image. Must not be greater than 10240 kilobytes.

position  string optional  

DELETE /page/cover/{id}

Example request:
curl --request DELETE \
    "http://localhost/api/v1/page/cover/505" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

DELETE /page/cover/{id}

URL Parameters

id  string  

The ID of the cover.

PATCH /page/sponsor/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/page/sponsor/0" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"sponsor\": \"distinctio\"
}"

Request      

PATCH /page/sponsor/{id}

URL Parameters

id  string  

The ID of the sponsor.

Body Parameters

sponsor  string  

PATCH /page/feature/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/page/feature/62741" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"feature\": \"1\"
}"

Request      

PATCH /page/feature/{id}

URL Parameters

id  string  

The ID of the feature.

Body Parameters

feature  number  

Must be one of 0 or 1.

PATCH /page/approve/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/page/approve/0" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

PATCH /page/approve/{id}

URL Parameters

id  string  

The ID of the approve.

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/page/mention" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"q\": \"magnam\",
    \"page\": 1,
    \"limit\": 306
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /page/mention

Body Parameters

q  string optional  

page  number optional  

Must be at least 1.

limit  number optional  

GET /page/suggestion

Example request:
curl --request GET \
    --get "http://localhost/api/v1/page/suggestion" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"page\": 0,
    \"limit\": 22425483.981
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /page/suggestion

Body Parameters

page  number optional  

Must be at least 1.

limit  number optional  

GET /page/form/{id?}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/page/form/87844" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /page/form/{id?}

URL Parameters

id  string optional  

The ID of the .

GET /page/privacy/{id}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/page/privacy/4" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /page/privacy/{id}

URL Parameters

id  string  

The ID of the privacy.

PUT /page/privacy/{id}

Example request:
curl --request PUT \
    "http://localhost/api/v1/page/privacy/8552" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

PUT /page/privacy/{id}

URL Parameters

id  string  

The ID of the privacy.

GET /page-claim/form/{id}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/page-claim/form/835208" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /page-claim/form/{id}

URL Parameters

id  string  

The ID of the form.

POST /page-claim/{id}

Example request:
curl --request POST \
    "http://localhost/api/v1/page-claim/4096" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"message\": \"reprehenderit\"
}"

Request      

POST /page-claim/{id}

URL Parameters

id  string  

The ID of the page claim.

Body Parameters

message  string optional  

GET /page-info/form/{id}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/page-info/form/187" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /page-info/form/{id}

URL Parameters

id  string  

The ID of the form.

Display the specified resource info.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/page-info/8" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /page-info/{id}

URL Parameters

id  string  

The ID of the page info.

GET /page-about/form/{id}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/page-about/form/4" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /page-about/form/{id}

URL Parameters

id  string  

The ID of the form.

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/page" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"q\": \"reprehenderit\",
    \"view\": \"qui\",
    \"sort\": \"officiis\",
    \"sort_type\": \"non\",
    \"when\": \"quis\",
    \"type_id\": 3347.310186328,
    \"category_id\": 256.38,
    \"user_id\": 0.2918,
    \"page\": 0,
    \"limit\": 10997346.62
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /page

Body Parameters

q  string optional  

view  string optional  

sort  string optional  

sort_type  string optional  

when  string optional  

type_id  number optional  

category_id  number optional  

user_id  number optional  

page  number optional  

Must be at least 1.

limit  number optional  

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost/api/v1/page" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"lpeguobgtwawcaq\",
    \"type_id\": 3757351.47838431,
    \"category_id\": 1453855.6784,
    \"text\": \"laborum\"
}"

Request      

POST /page

Body Parameters

name  string  

Must be between 1 and 64 characters.

type_id  number  

category_id  number optional  

text  string optional  

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/page/70" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /page/{id}

URL Parameters

id  string  

The ID of the page.

Update the specified resource in storage.

Example request:
curl --request PUT \
    "http://localhost/api/v1/page/9" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"yudqmohkepsdnraymygicqfmurcprycbhlbcmqdsxtqqrk\",
    \"type_id\": 0,
    \"category_id\": 380.276,
    \"vanity_url\": \"voluptas\",
    \"text\": \"quam\",
    \"landing_page\": \"aut\",
    \"location\": \"velit\",
    \"phone\": \"reiciendis\",
    \"external_link\": \"http:\\/\\/www.koch.net\\/magnam-deleniti-non-incidunt-perferendis-non-quia-aut-quibusdam\"
}"

Request      

PUT /page/{id}

PATCH /page/{id}

URL Parameters

id  string  

The ID of the page.

Body Parameters

name  string  

Must be between 3 and 64 characters.

type_id  number  

category_id  number optional  

vanity_url  string optional  

text  string optional  

landing_page  string optional  

location  string optional  

phone  string optional  

external_link  string optional  

Must be a valid URL.

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost/api/v1/page/3" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

DELETE /page/{id}

URL Parameters

id  string  

The ID of the page.

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/page-invite" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"page_id\": 5666.40762,
    \"page\": 0,
    \"limit\": 4
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /page-invite

Body Parameters

page_id  number  

page  number optional  

Must be at least 1.

limit  number optional  

Must be at least 10.

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost/api/v1/page-invite" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"page_id\": 4.8312,
    \"user_ids\": [
        12.045
    ]
}"

Request      

POST /page-invite

Body Parameters

page_id  number  

user_ids  number[] optional  

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/page-invite/3" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /page-invite/{id}

URL Parameters

id  string  

The ID of the page invite.

Used to accept/decline a request to like a page.

Example request:
curl --request PUT \
    "http://localhost/api/v1/page-invite/2902296" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"page_id\": 5617208.53557,
    \"accept\": 158744.7650718
}"

Request      

PUT /page-invite/{id}

PATCH /page-invite/{id}

URL Parameters

id  string  

The ID of the page invite.

Body Parameters

page_id  number  

accept  number  

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost/api/v1/page-invite/566" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"page\": 1,
    \"limit\": 6
}"

Request      

DELETE /page-invite/{id}

URL Parameters

id  string  

The ID of the page invite.

Body Parameters

page  number optional  

Must be at least 1.

limit  number optional  

Must be at least 10.

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/page-member" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"q\": \"adipisci\",
    \"page_id\": 163.3,
    \"page\": 1,
    \"limit\": 10555,
    \"view\": \"magnam\"
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /page-member

Body Parameters

q  string optional  

page_id  number  

page  number optional  

Must be at least 1.

limit  number optional  

view  string optional  

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost/api/v1/page-member" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"page_id\": 25425459.1806
}"

Request      

POST /page-member

Body Parameters

page_id  number  

Update the specified resource in storage.

Example request:
curl --request PUT \
    "http://localhost/api/v1/page-member/778358" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"member_type\": 4,
    \"user_id\": 633475.49
}"

Request      

PUT /page-member/{id}

PATCH /page-member/{id}

URL Parameters

id  string  

The ID of the page member.

Body Parameters

member_type  number  

user_id  number  

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost/api/v1/page-member/72" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

DELETE /page-member/{id}

URL Parameters

id  string  

The ID of the page member.

Display a listing of the admin resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/page-admin" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"q\": \"ducimus\",
    \"page_id\": 3341573.54645,
    \"page\": 1,
    \"limit\": 147513.62,
    \"view\": \"voluptates\"
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /page-admin

Body Parameters

q  string optional  

page_id  number  

page  number optional  

Must be at least 1.

limit  number optional  

view  string optional  

POST /page-admin

Example request:
curl --request POST \
    "http://localhost/api/v1/page-admin" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"page_id\": 338675.761,
    \"user_ids\": [
        1.637
    ]
}"

Request      

POST /page-admin

Body Parameters

page_id  number  

user_ids  number[]  

DELETE /page-admin

Example request:
curl --request DELETE \
    "http://localhost/api/v1/page-admin" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"page_id\": 262347.01556472,
    \"user_id\": 6162060,
    \"is_delete\": 0.605
}"

Request      

DELETE /page-admin

Body Parameters

page_id  number  

user_id  number  

is_delete  number  

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/hashtag" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"page\": 1,
    \"limit\": 3572.42
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /hashtag

Body Parameters

page  number optional  

Must be at least 1.

limit  number optional  

Example request:
curl --request GET \
    --get "http://localhost/api/v1/hashtag/trending" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"page\": 1,
    \"limit\": 1499662.416
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/hashtag/suggestion" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"q\": \"a\",
    \"limit\": 42.6714
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /hashtag/suggestion

Body Parameters

q  string optional  

limit  number optional  

GET /forum-thread/form/{id?}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/forum-thread/form/23" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"owner_id\": 5.513
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /forum-thread/form/{id?}

URL Parameters

id  string optional  

The ID of the .

Body Parameters

owner_id  number optional  

PATCH /forum-thread/approve/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/forum-thread/approve/9" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

PATCH /forum-thread/approve/{id}

URL Parameters

id  string  

The ID of the approve.

GET /forum

Example request:
curl --request GET \
    --get "http://localhost/api/v1/forum" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_id\": 3516069.9554609,
    \"view\": \"qui\",
    \"forum_id\": 345506.960785536,
    \"q\": \"corporis\",
    \"sort\": \"labore\",
    \"sort_type\": \"adipisci\",
    \"when\": \"quas\",
    \"item_type\": \"eos\",
    \"page\": 0,
    \"limit\": 12306433.643815
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /forum

Body Parameters

user_id  number optional  

view  string optional  

forum_id  number optional  

q  string optional  

sort  string optional  

sort_type  string optional  

when  string optional  

item_type  string optional  

page  number optional  

Must be at least 1.

limit  number optional  

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/forum-thread" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_id\": 2099718.732368,
    \"q\": \"beatae\",
    \"view\": \"nostrum\",
    \"sort\": \"consectetur\",
    \"sort_type\": \"soluta\",
    \"when\": \"commodi\",
    \"forum_id\": 66,
    \"page\": 0,
    \"limit\": 439.9429148
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /forum-thread

Body Parameters

user_id  number optional  

q  string optional  

view  string optional  

sort  string optional  

sort_type  string optional  

when  string optional  

forum_id  number optional  

page  number optional  

Must be at least 1.

limit  number optional  

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost/api/v1/forum-thread" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"jxmxgwpqfrvjehvlzzegqzhmtfasdgtsw\",
    \"text\": \"molestiae\",
    \"tags\": [
        \"necessitatibus\"
    ],
    \"item_type\": \"nihil\",
    \"item_id\": 16,
    \"integrated_item\": [
        \"hic\"
    ],
    \"attachments\": [
        {
            \"id\": 122.59,
            \"status\": \"fugit\"
        }
    ]
}"

Request      

POST /forum-thread

Body Parameters

forum_id  string optional  

title  string  

Must be between 3 and 255 characters.

text  string  

tags  string[] optional  

is_subscribed  string optional  

is_wiki  string optional  

item_type  string optional  

item_id  integer optional  

integrated_item  string[] optional  

attachments  object[] optional  

attachments[].id  number optional  

attachments[].status  string optional  

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/forum-thread/7" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /forum-thread/{id}

URL Parameters

id  string  

The ID of the forum thread.

PUT /forum-thread/{id}

Example request:
curl --request PUT \
    "http://localhost/api/v1/forum-thread/2484" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"iwreuqygjztpfqmmfspquyfgljxskinhqyaektswtsluwxvxqtgizuqegwchmmygfwdpfuvotplmvplnpxgklvsjiwvjounmxrcwqfefcgblaxfelglfuirpqspshwp\",
    \"text\": \"ut\",
    \"tags\": [
        \"sed\"
    ],
    \"item_type\": \"quam\",
    \"item_id\": 15,
    \"integrated_item\": [
        \"corrupti\"
    ],
    \"attachments\": [
        {
            \"id\": 120036.854948,
            \"status\": \"voluptatem\"
        }
    ]
}"

Request      

PUT /forum-thread/{id}

PATCH /forum-thread/{id}

URL Parameters

id  string  

The ID of the forum thread.

Body Parameters

forum_id  string optional  

title  string  

Must be between 3 and 255 characters.

text  string  

tags  string[] optional  

is_subscribed  string optional  

is_wiki  string optional  

item_type  string optional  

item_id  integer optional  

integrated_item  string[] optional  

attachments  object[] optional  

attachments[].id  number optional  

attachments[].status  string optional  

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost/api/v1/forum-thread/418" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

DELETE /forum-thread/{id}

URL Parameters

id  string  

The ID of the forum thread.

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/forum-post" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_id\": 694.30534,
    \"q\": \"exercitationem\",
    \"view\": \"pariatur\",
    \"sort\": \"dolores\",
    \"sort_type\": \"fugiat\",
    \"when\": \"esse\",
    \"thread_id\": 94370537.2701006,
    \"post_id\": 1500.8,
    \"forum_id\": 28355251.336130466,
    \"page\": 1,
    \"limit\": 554169.97860228
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /forum-post

Body Parameters

user_id  number optional  

q  string optional  

view  string optional  

sort  string optional  

sort_type  string optional  

when  string optional  

thread_id  number optional  

post_id  number optional  

forum_id  number optional  

page  number optional  

Must be at least 1.

limit  number optional  

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost/api/v1/forum-post" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"thread_id\": 146.251,
    \"owner_id\": 296942496.7,
    \"text\": \"id\",
    \"attachments\": [
        {
            \"id\": 17862262.29771,
            \"status\": \"aut\"
        }
    ]
}"

Request      

POST /forum-post

Body Parameters

thread_id  number  

owner_id  number optional  

text  string  

attachments  object[] optional  

attachments[].id  number optional  

attachments[].status  string optional  

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/forum-post/20" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /forum-post/{id}

URL Parameters

id  string  

The ID of the forum post.

Update the specified resource in storage.

Example request:
curl --request PUT \
    "http://localhost/api/v1/forum-post/3" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"text\": \"sunt\",
    \"attachments\": [
        {
            \"id\": 1.0493,
            \"status\": \"non\"
        }
    ]
}"

Request      

PUT /forum-post/{id}

PATCH /forum-post/{id}

URL Parameters

id  string  

The ID of the forum post.

Body Parameters

text  string optional  

attachments  object[] optional  

attachments[].id  number optional  

attachments[].status  string optional  

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost/api/v1/forum-post/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

DELETE /forum-post/{id}

URL Parameters

id  string  

The ID of the forum post.

Browse item

Example request:
curl --request GET \
    --get "http://localhost/api/v1/feed/history/347" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /feed/history/{id}

URL Parameters

id  string  

The ID of the history.

PATCH /forum-post/approve/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/forum-post/approve/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

PATCH /forum-post/approve/{id}

URL Parameters

id  string  

The ID of the approve.

GET /forum-post/form/{id?}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/forum-post/form/78" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"owner_id\": 552263719.68092,
    \"thread_id\": 5759919.0893
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /forum-post/form/{id?}

URL Parameters

id  string optional  

The ID of the .

Body Parameters

owner_id  number optional  

thread_id  number optional  

POST /forum-post/quote

Example request:
curl --request POST \
    "http://localhost/api/v1/forum-post/quote" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"quote_id\": 39.77207,
    \"text\": \"commodi\",
    \"attachments\": [
        {
            \"id\": 1257.099,
            \"status\": \"repellendus\"
        }
    ]
}"

Request      

POST /forum-post/quote

Body Parameters

quote_id  number  

text  string  

attachments  object[] optional  

attachments[].id  number optional  

attachments[].status  string optional  

GET /forum-post/quote/form/{id}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/forum-post/quote/form/802" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /forum-post/quote/form/{id}

URL Parameters

id  string  

The ID of the form.

PATCH /forum-thread/close/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/forum-thread/close/406" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"is_closed\": \"nihil\"
}"

Request      

PATCH /forum-thread/close/{id}

URL Parameters

id  string  

The ID of the close.

Body Parameters

is_closed  string  

POST /forum-thread/copy

Example request:
curl --request POST \
    "http://localhost/api/v1/forum-thread/copy" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"forum_id\": 1633133.516,
    \"title\": \"opbwevwkqtbmylyrmjncypeyywkaqctrmqfjqlygrjnqscx\",
    \"thread_id\": 0.2835728
}"

Request      

POST /forum-thread/copy

Body Parameters

forum_id  number optional  

title  string  

Must be between 3 and 255 characters.

thread_id  number  

GET /forum-thread/copy/form/{id}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/forum-thread/copy/form/911907" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /forum-thread/copy/form/{id}

URL Parameters

id  string  

The ID of the form.

PATCH /forum-thread/last-read/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/forum-thread/last-read/4348" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"post_id\": 1
}"

Request      

PATCH /forum-thread/last-read/{id}

URL Parameters

id  string  

The ID of the last read.

Body Parameters

post_id  number  

Must be at least 1.

POST /forum-thread/merge

Example request:
curl --request POST \
    "http://localhost/api/v1/forum-thread/merge" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"forum_id\": 31.6605,
    \"current_thread_id\": 45660639,
    \"merged_thread_id\": 173.6
}"

Request      

POST /forum-thread/merge

Body Parameters

forum_id  number  

current_thread_id  number  

merged_thread_id  number  

GET /forum-thread/merge/form/{id}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/forum-thread/merge/form/1423" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /forum-thread/merge/form/{id}

URL Parameters

id  string  

The ID of the form.

GET /forum-thread/move/form/{id}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/forum-thread/move/form/637" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /forum-thread/move/form/{id}

URL Parameters

id  string  

The ID of the form.

PATCH /forum-thread/move/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/forum-thread/move/15127" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"forum_id\": 97857855.8
}"

Request      

PATCH /forum-thread/move/{id}

URL Parameters

id  string  

The ID of the move.

Body Parameters

forum_id  number  

Sponsor thread in feed.

Example request:
curl --request PATCH \
    "http://localhost/api/v1/forum-thread/sponsor-in-feed/4" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"sponsor\": \"1\"
}"

Request      

PATCH /forum-thread/sponsor-in-feed/{id}

URL Parameters

id  string  

The ID of the sponsor in feed.

Body Parameters

sponsor  number  

Must be one of 0 or 1.

PATCH /forum-thread/sponsor/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/forum-thread/sponsor/0" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"sponsor\": \"molestiae\"
}"

Request      

PATCH /forum-thread/sponsor/{id}

URL Parameters

id  string  

The ID of the sponsor.

Body Parameters

sponsor  string  

PATCH /forum-thread/stick/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/forum-thread/stick/83" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"is_sticked\": \"ut\"
}"

Request      

PATCH /forum-thread/stick/{id}

URL Parameters

id  string  

The ID of the stick.

Body Parameters

is_sticked  string  

PATCH /forum-thread/subscribe/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/forum-thread/subscribe/3" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"is_subscribed\": \"beatae\"
}"

Request      

PATCH /forum-thread/subscribe/{id}

URL Parameters

id  string  

The ID of the subscribe.

Body Parameters

is_subscribed  string  

Example request:
curl --request GET \
    --get "http://localhost/api/v1/forum-thread/suggestion-search" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_id\": 20386502.958028,
    \"q\": \"neque\",
    \"view\": \"et\",
    \"sort\": \"quasi\",
    \"sort_type\": \"est\",
    \"when\": \"inventore\",
    \"forum_id\": 11792.84363,
    \"page\": 0,
    \"limit\": 2.83643,
    \"exclude_thread_ids\": \"inventore\"
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Browse item

Example request:
curl --request GET \
    --get "http://localhost/api/v1/group-block" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"group_id\": 21331.407,
    \"page\": 1,
    \"limit\": 197.78
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /group-block

Body Parameters

group_id  number  

page  number optional  

Must be at least 1.

limit  number optional  

Store item

Example request:
curl --request POST \
    "http://localhost/api/v1/group-block" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"group_id\": 2,
    \"user_id\": 436.3963
}"

Request      

POST /group-block

Body Parameters

group_id  number  

user_id  number  

View item

Example request:
curl --request GET \
    --get "http://localhost/api/v1/group-block/329250" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /group-block/{id}

URL Parameters

id  string  

The ID of the group block.

Update item

Example request:
curl --request PUT \
    "http://localhost/api/v1/group-block/73" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

PUT /group-block/{id}

PATCH /group-block/{id}

URL Parameters

id  string  

The ID of the group block.

Delete item

Example request:
curl --request DELETE \
    "http://localhost/api/v1/group-block/088" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"group_id\": 26.46,
    \"user_id\": 19.1435461
}"

Request      

DELETE /group-block/{id}

URL Parameters

id  string  

The ID of the group block.

Body Parameters

group_id  number  

user_id  number  

DELETE /group-unblock

Example request:
curl --request DELETE \
    "http://localhost/api/v1/group-unblock" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"group_id\": 2845.2784,
    \"user_id\": 872959.89539164
}"

Request      

DELETE /group-unblock

Body Parameters

group_id  number  

user_id  number  

Store item.

Example request:
curl --request POST \
    "http://localhost/api/v1/invite-code" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"group_id\": 4.382,
    \"refresh\": 85993203.451954
}"

Request      

POST /invite-code

Body Parameters

group_id  number  

refresh  number optional  

POST /invite-code/accept/{code}

Example request:
curl --request POST \
    "http://localhost/api/v1/invite-code/accept/aut" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

POST /invite-code/accept/{code}

URL Parameters

code  string  

GET /invite-code/verify/{code}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/invite-code/verify/ullam" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /invite-code/verify/{code}

URL Parameters

code  string  

Show Menu.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/menu/at" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /menu/{menuName}

URL Parameters

menuName  string  

POST /page-member/add-page-admin

Example request:
curl --request POST \
    "http://localhost/api/v1/page-member/add-page-admin" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"page_id\": 6614.7521,
    \"user_ids\": [
        35138
    ]
}"

Request      

POST /page-member/add-page-admin

Body Parameters

page_id  number  

user_ids  number[]  

Reassign group owner.

Example request:
curl --request PUT \
    "http://localhost/api/v1/page-member/reassign-owner" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"page_id\": 0.073330123,
    \"user_id\": 354771.5995
}"

Request      

PUT /page-member/reassign-owner

Body Parameters

page_id  number  

user_id  number  

Delete group member.

Example request:
curl --request DELETE \
    "http://localhost/api/v1/page-member/remove-page-admin" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"page_id\": 2941012.22,
    \"user_id\": 973274.60984124,
    \"is_delete\": 2.30244
}"

Request      

DELETE /page-member/remove-page-admin

Body Parameters

page_id  number  

user_id  number  

is_delete  number  

Delete group member.

Example request:
curl --request DELETE \
    "http://localhost/api/v1/page-member/remove-page-member" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"page_id\": 44.7263702,
    \"user_id\": 26254.90932
}"

Request      

DELETE /page-member/remove-page-member

Body Parameters

page_id  number  

user_id  number  

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/page/similar" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"page_id\": 127.4,
    \"category_id\": 107.683507,
    \"limit\": 627065.017
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /page/similar

Body Parameters

page_id  number optional  

category_id  number optional  

limit  number optional  

Browse item.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/payment-gateway" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"page\": 1,
    \"limit\": 42952596.18779001
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /payment-gateway

Body Parameters

page  number optional  

Must be at least 1.

limit  number optional  

Browse item.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/payment-order" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /payment-order

View item.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/payment-order/1183" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /payment-order/{id}

URL Parameters

id  string  

The ID of the payment order.

Update item.

Example request:
curl --request PUT \
    "http://localhost/api/v1/payment-order/44" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"gateway_id\": 24.51977922
}"

Request      

PUT /payment-order/{id}

PATCH /payment-order/{id}

URL Parameters

id  string  

The ID of the payment order.

Body Parameters

gateway_id  number  

notify.

Example request:
curl --request POST \
    "http://localhost/api/v1/paypal/notify" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

POST /paypal/notify

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/photo/download/3" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /photo/download/{id?}

URL Parameters

id  string optional  

The ID of the .

GET /poll/integration-form

Example request:
curl --request GET \
    --get "http://localhost/api/v1/poll/integration-form" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /poll/integration-form

View item.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/seo/meta/blog.browse.home" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /seo/meta/{metaName}

URL Parameters

metaName  string  

Page meta name.

Browse item.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/static-page" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /static-page

Store item.

Example request:
curl --request POST \
    "http://localhost/api/v1/static-page" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

POST /static-page

View item.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/static-page/slug/et" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /static-page/slug/{slug}

URL Parameters

slug  string  

View item.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/static-page/92" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /static-page/{id}

URL Parameters

id  string  

The ID of the static page.

Update item.

Example request:
curl --request PUT \
    "http://localhost/api/v1/static-page/25392" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

PUT /static-page/{id}

PATCH /static-page/{id}

URL Parameters

id  string  

The ID of the static page.

Delete item.

Example request:
curl --request DELETE \
    "http://localhost/api/v1/static-page/5" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

DELETE /static-page/{id}

URL Parameters

id  string  

The ID of the static page.

Browse item.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/subscription-comparison" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /subscription-comparison

Browse item.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/subscription-invoice" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"limit\": 0,
    \"page\": 0
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /subscription-invoice

Body Parameters

limit  number optional  

Must be at least 1.

page  number optional  

Must be at least 1.

Store item.

Example request:
curl --request POST \
    "http://localhost/api/v1/subscription-invoice" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"id\": 38.5331,
    \"renew_type\": \"est\",
    \"payment_gateway\": 2.44518411
}"

Request      

POST /subscription-invoice

Body Parameters

id  number  

renew_type  string optional  

payment_gateway  number  

GET /subscription-invoice/cancel-form/{id}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/subscription-invoice/cancel-form/294" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /subscription-invoice/cancel-form/{id}

URL Parameters

id  string  

The ID of the cancel form.

PATCH /subscription-invoice/cancel/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/subscription-invoice/cancel/58" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"reason_id\": 4.5711
}"

Request      

PATCH /subscription-invoice/cancel/{id}

URL Parameters

id  string  

The ID of the cancel.

Body Parameters

reason_id  number  

POST /subscription-invoice/change-invoice/{id}

Example request:
curl --request POST \
    "http://localhost/api/v1/subscription-invoice/change-invoice/6" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

POST /subscription-invoice/change-invoice/{id}

URL Parameters

id  string  

The ID of the change invoice.

GET /subscription-invoice/payment-form/{id}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/subscription-invoice/payment-form/0449" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"action_type\": \"et\"
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /subscription-invoice/payment-form/{id}

URL Parameters

id  string  

The ID of the payment form.

Body Parameters

action_type  string  

GET /subscription-invoice/renew-form/{id}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/subscription-invoice/renew-form/3372" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /subscription-invoice/renew-form/{id}

URL Parameters

id  string  

The ID of the renew form.

POST /subscription-invoice/renew-method-form/{id}

Example request:
curl --request POST \
    "http://localhost/api/v1/subscription-invoice/renew-method-form/610" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"id\": 3.9186638,
    \"payment_gateway\": 9084245.08921413,
    \"action_type\": \"vel\"
}"

Request      

POST /subscription-invoice/renew-method-form/{id}

URL Parameters

id  string  

The ID of the renew method form.

Body Parameters

id  number  

payment_gateway  number  

action_type  string  

PATCH /subscription-invoice/renew/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/subscription-invoice/renew/00" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"payment_gateway\": 1.755
}"

Request      

PATCH /subscription-invoice/renew/{id}

URL Parameters

id  string  

The ID of the renew.

Body Parameters

payment_gateway  number  

PATCH /subscription-invoice/upgrade/{id}

Example request:
curl --request PATCH \
    "http://localhost/api/v1/subscription-invoice/upgrade/047" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"payment_gateway\": 240.562,
    \"action_type\": \"ipsam\"
}"

Request      

PATCH /subscription-invoice/upgrade/{id}

URL Parameters

id  string  

The ID of the upgrade.

Body Parameters

renew_type  string optional  

payment_gateway  number  

action_type  string  

View item.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/subscription-invoice/86" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /subscription-invoice/{id}

URL Parameters

id  string  

The ID of the subscription invoice.

Browse item.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/subscription-package" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"q\": \"illum\",
    \"view\": \"qui\"
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /subscription-package

Body Parameters

q  string optional  

view  string optional  

GET /subscription-package/payment-form/{id}

Example request:
curl --request GET \
    --get "http://localhost/api/v1/subscription-package/payment-form/082076163" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /subscription-package/payment-form/{id}

URL Parameters

id  string  

The ID of the payment form.

POST /subscription-package/renew-form/{id}

Example request:
curl --request POST \
    "http://localhost/api/v1/subscription-package/renew-form/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"payment_gateway\": 55
}"

Request      

POST /subscription-package/renew-form/{id}

URL Parameters

id  string  

The ID of the renew form.

Body Parameters

payment_gateway  number  

View item.

Example request:
curl --request GET \
    --get "http://localhost/api/v1/subscription-package/374" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /subscription-package/{id}

URL Parameters

id  string  

The ID of the subscription package.

announcement

Browse announcement.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost/api/v1/announcement?limit=10" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /announcement

Query Parameters

limit  integer optional  

The items to return.

View announcement.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost/api/v1/announcement/4" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /announcement/{id}

URL Parameters

id  string  

The ID of the announcement.

Hide announcement.

requires authentication

Example request:
curl --request POST \
    "http://localhost/api/v1/announcement/announcement/hide" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"announcement_id\": 0
}"

Request      

POST /announcement/announcement/hide

Body Parameters

announcement_id  number  

Must be at least 1.

Browse announcement.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost/api/v1/announcement/view?announcement_id=22183574.05234&limit=10" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /announcement/view

Query Parameters

announcement_id  number  

limit  integer optional  

The items to return.

Hide announcement.

requires authentication

Example request:
curl --request POST \
    "http://localhost/api/v1/announcement/view" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"announcement_id\": 1
}"

Request      

POST /announcement/view

Body Parameters

announcement_id  number  

Must be at least 1.

auth

MetaFox

Example request:
curl --request POST \
    "http://localhost/api/v1/register" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_name\": \" \\/^oqM5Ao\",
    \"full_name\": \"et\",
    \"first_name\": \"et\",
    \"last_name\": \"rerum\",
    \"email\": \"[email protected]\",
    \"password\": \"facilis\",
    \"agree\": true
}"

Request      

POST /register

Body Parameters

user_name  string  

The value format is invalid.

full_name  string  

first_name  string  

last_name  string  

email  string  

Must be a valid email address.

password  string  

agree  boolean  

Must be accepted.

GET /auth/logout

requires authentication

Example request:
curl --request GET \
    --get "http://localhost/api/v1/auth/logout" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /auth/logout

/login.

requires authentication

Logged in by email and password.

Example request:
curl --request POST \
    "http://localhost/api/v1/user/login" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"username\": \"[email protected]\",
    \"password\": \"123456\"
}"

Request      

POST /user/login

Body Parameters

username  string  

The email of user.

password  string  

The password of user.

background-status

Browse collection

requires authentication

Example request:
curl --request GET \
    --get "http://localhost/api/v1/pstatusbg-collection" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"page\": 0,
    \"limit\": 49784.78932
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /pstatusbg-collection

Body Parameters

page  number optional  

Must be at least 1.

limit  number optional  

Create background

requires authentication

Example request:
curl --request POST \
    "http://localhost/api/v1/pstatusbg-collection" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vbzaekocruqlotadywnjolrfzgtmnkdzvdydnxhcfxkeqlvjlsddfwwsbespepitspjtegkttkvkkephqrikmqdsrwoehovopvbasexyrtfmybxtiaytymbldstqjzgufdnoydourtmtnuwesngeumyvdjqshghhpqnicchsi\",
    \"is_active\": 1257369,
    \"is_default\": 16160.0265,
    \"background_temp_file\": [
        4784.324
    ]
}"

Request      

POST /pstatusbg-collection

Body Parameters

title  string  

Must be between 3 and 255 characters.

is_active  number optional  

is_default  number optional  

background_temp_file  number[] optional  

View background

requires authentication

Example request:
curl --request GET \
    --get "http://localhost/api/v1/pstatusbg-collection/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /pstatusbg-collection/{id}

URL Parameters

id  string  

The ID of the pstatusbg collection.

Update background

requires authentication

Example request:
curl --request PUT \
    "http://localhost/api/v1/pstatusbg-collection/277" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"urretmfaosoiimynibydpcvstlwcpcksybxojxekenczpcmubcksdbzthvjyzhfjbohtraintymdhqqnatlqjlocsocltlnnpuwrhrjnyrekqdrgvyooveybfjbqufauvbghivwvtmw\",
    \"is_active\": 0,
    \"is_default\": 1877726.9,
    \"background_temp_file\": [
        13924197.575397
    ]
}"

Request      

PUT /pstatusbg-collection/{id}

PATCH /pstatusbg-collection/{id}

URL Parameters

id  string  

The ID of the pstatusbg collection.

Body Parameters

title  string optional  

Must be between 3 and 255 characters.

is_active  number optional  

is_default  number optional  

background_temp_file  number[] optional  

Remove background

requires authentication

Example request:
curl --request DELETE \
    "http://localhost/api/v1/pstatusbg-collection/6" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

DELETE /pstatusbg-collection/{id}

URL Parameters

id  string  

The ID of the pstatusbg collection.

View collection

requires authentication

Example request:
curl --request GET \
    --get "http://localhost/api/v1/bgs-collection-admin" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"page\": 1,
    \"limit\": 80193395.7252842
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /bgs-collection-admin

Body Parameters

page  number optional  

Must be at least 1.

limit  number optional  

Get background

requires authentication

Example request:
curl --request GET \
    --get "http://localhost/api/v1/bgs-background" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"collection_id\": 13971101.66,
    \"page\": 1,
    \"limit\": 13047.9046596
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /bgs-background

Body Parameters

collection_id  number  

page  number optional  

Must be at least 1.

limit  number optional  

Delete background

requires authentication

Example request:
curl --request DELETE \
    "http://localhost/api/v1/bgs-background/903751" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

DELETE /bgs-background/{id}

URL Parameters

id  string  

The ID of the bgs background.

blog

GET /blog/form/{id}

requires authentication

Example request:
curl --request GET \
    --get "http://localhost/api/v1/blog/form/79" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"owner_id\": 32.640596359
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /blog/form/{id}

URL Parameters

id  string  

The ID of the form.

Body Parameters

owner_id  number optional  

GET /blog/form

requires authentication

Example request:
curl --request GET \
    --get "http://localhost/api/v1/blog/form" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"owner_id\": 226489830.24085405
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /blog/form

Body Parameters

owner_id  number optional  

Get search form.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost/api/v1/blog/search-form" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /blog/search-form

Display a listing of the resource.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost/api/v1/blog-category" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"id\": 29920.4,
    \"page\": 1,
    \"limit\": 108.70284
}"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /blog-category

Body Parameters

id  number optional  

page  number optional  

Must be at least 1.

limit  number optional  

Store a newly created resource in storage.

requires authentication

Example request:
curl --request POST \
    "http://localhost/api/v1/blog-category" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"daojoloffhgdkkjybngrhlsguxqhzajmqpwweggmwawueshtucnrpburrxhmpdcbimanbwfnrnztonismlxysstlmkrwlmqtcfehtdimetovhihpwbboynfdryflpdixjfcjcgebndixtlad\",
    \"name_url\": \"piuiwyiuainhjjwbzfqjcsiodptfcysexdkiqattzlsttyguhnqhilbuebsjjoijeejjixlnpzvsssmoozwynoekdubrgabxzqschtwaghyhzlrzffwajhudxtjfokcfaztrrbkabagwgxtobhrqpueamaesjzlyfdgrjjrdmqlbhnuozogmabjurcawtuvfcrevvoxekp\",
    \"is_active\": 66.7427388,
    \"ordering\": 27696234.221554,
    \"parent_id\": 48255947.41473
}"

Request      

POST /blog-category

Body Parameters

name  string  

Must be between 3 and 255 characters.

name_url  string optional  

Must be between 3 and 255 characters.

is_active  number optional  

ordering  number optional  

parent_id  number optional  

Display the specified resource.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost/api/v1/blog-category/25" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /blog-category/{id}

URL Parameters

id  string  

The ID of the blog category.

Update the specified resource in storage.

requires authentication

Example request:
curl --request PUT \
    "http://localhost/api/v1/blog-category/932" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"bmvypslxyuerhjizdjzjbqkyqrkzqqjrupjsucbghlemtgbftcsyumxlunrayorkhjpm\",
    \"name_url\": \"xhhxeocerrjrdgaxpqrltytdytgbk\",
    \"is_active\": 759943.804434,
    \"ordering\": 746952,
    \"parent_id\": 7.2986493
}"

Request      

PUT /blog-category/{id}

PATCH /blog-category/{id}

URL Parameters

id  string  

The ID of the blog category.

Body Parameters

name  string optional  

Must be between 3 and 255 characters.

name_url  string optional  

Must be between 3 and 255 characters.

is_active  number optional  

ordering  number optional  

parent_id  number optional  

Remove the specified resource from storage.

requires authentication

Example request:
curl --request DELETE \
    "http://localhost/api/v1/blog-category/85431" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"migrate_items\": 14,
    \"new_category_id\": 1398370.5418
}"

Request      

DELETE /blog-category/{id}

URL Parameters

id  string  

The ID of the blog category.

Body Parameters

migrate_items  number  

new_category_id  number optional  

This field is required when migrate_items is 1.

Browse blog.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost/api/v1/blog?q=molestiae&view=search&sort=most_viewed&sort_type=desc&when=this_month&category_id=9&user_id=0&page=0&limit=4" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /blog

Query Parameters

q  string optional  

view  string optional  

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

sort  string optional  

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

sort_type  string optional  

Must be one of desc or asc.

when  string optional  

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

category_id  integer optional  

user_id  integer optional  

The profile id to filter.

page  integer optional  

Must be at least 1.

limit  integer optional  

Create blog.

requires authentication

Example request:
curl --request POST \
    "http://localhost/api/v1/blog" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"dolores\",
    \"categories\": [
        20979.645174
    ],
    \"owner_id\": 148352.39295661,
    \"file\": {
        \"temp_file\": 18913.4209
    },
    \"text\": \"non\",
    \"draft\": 2384720.2,
    \"tags\": [
        \"quae\"
    ],
    \"privacy\": \"nesciunt\",
    \"attachments\": [
        {
            \"id\": 32468.9737854,
            \"status\": \"qui\"
        }
    ]
}"

Request      

POST /blog

Body Parameters

title  string  

categories  number[] optional  

owner_id  number optional  

file  object optional  

file.temp_file  number optional  

This field is required when file is present.

text  string  

draft  number optional  

tags  string[] optional  

privacy  string  

captcha  string optional  

attachments  object[] optional  

attachments[].id  number optional  

attachments[].status  string optional  

View Blog.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost/api/v1/blog/3132424" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}
 

Request      

GET /blog/{id}

URL Parameters

id  string  

The ID of the blog.

Update blog.

requires authentication

Example request:
curl --request PUT \
    "http://localhost/api/v1/blog/51" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"consequatur\",
    \"categories\": [
        509
    ],
    \"file\": {
        \"temp_file\": 299151.5119,
        \"status\": \"sunt\"
    },
    \"text\": \"tenetur\",
    \"tags\": [
        \"beatae\"
    ],
    \"draft\": 37903.562582829,
    \"published\": false,
    \"attachments\": [
        {
            \"id\": 16523230.21,
            \"status\": \"est\"
        }
    ]
}"

Request      

PUT /blog/{id}

PATCH /blog/{id}

URL Parameters

id  string  

The ID of the blog.

Body Parameters

title  string optional  

categories  number[] optional  

file  object optional  

file.temp_file  number optional  

This field is required when file.status is update.

file.status  string optional  

This field is required when file is present.

text  string optional  

tags  string[] optional  

draft  number optional  

published  boolean optional  

privacy  string optional  

attachments  object[] optional  

attachments[].id  number optional  

attachments[].status  string optional  

Delete blog.

requires authentication

Example request:
curl --request DELETE \
    "http://localhost/api/v1/blog/627" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

DELETE /blog/{id}

URL Parameters

id  string  

The ID of the blog.

Sponsor blog.

requires authentication

Example request:
curl --request PATCH \
    "http://localhost/api/v1/blog/sponsor/0" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"sponsor\": \"accusamus\"
}"

Request      

PATCH /blog/sponsor/{id}

URL Parameters

id  string  

The ID of the sponsor.

Body Parameters

sponsor  string  

Feature blog.

requires authentication

Example request:
curl --request PATCH \
    "http://localhost/api/v1/blog/feature/344817" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"feature\": \"0\"
}"

Request      

PATCH /blog/feature/{id}

URL Parameters

id  string  

The ID of the feature.

Body Parameters

feature  number  

Must be one of 0 or 1.

Approve blog.

requires authentication

Example request:
curl --request PATCH \
    "http://localhost/api/v1/blog/approve/814" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

PATCH /blog/approve/{id}

URL Parameters

id  string  

The ID of the approve.

Sponsor blog in feed.

requires authentication

Example request:
curl --request PATCH \
    "http://localhost/api/v1/blog/sponsor-in-feed/666" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"sponsor\": \"0\"
}"

Request      

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

URL Parameters

id  string  

The ID of the sponsor in feed.

Body Parameters

sponsor  number  

Must be one of 0 or 1.

Publish blog.

requires authentication

Example request:
curl --request PATCH \
    "http://localhost/api/v1/blog/publish/25" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Request      

PATCH /blog/publish/{id}

URL Parameters

id  string  

The ID of the publish.

chatplus

GET /chatplus/me

requires authentication

Example request:
curl --request GET \
    --get "http://localhost/api/v1/chatplus/me" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
 
{
    "status": "failed",
    "data": [],
    "error": "Error"
}