NAV
bash javascript

Info

Welcome to the generated API reference. Get Postman Collection

ACL

APIs for acl

Login a user

[Passport to login user, return token to authentication]

Example request:

curl -X POST "http://127.0.0.1:3000/api/login" \
    -H "Content-Type: application/json" \
    -d '{"grant_type":"password","client_id":"2","client_secret":"DFF6f2IX9TOhZ2vqH73xYQlxS92ogMpxPTY1fDQx","username":"phamminhcuong1704bnfrv@gmail.com","password":"123456","provider":"users"}'
const url = new URL("http://127.0.0.1:3000/api/login");

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

let body = {
    "grant_type": "password",
    "client_id": "2",
    "client_secret": "DFF6f2IX9TOhZ2vqH73xYQlxS92ogMpxPTY1fDQx",
    "username": "phamminhcuong1704bnfrv@gmail.com",
    "password": "123456",
    "provider": "users"
}

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

Example response (200):

{
    "id": 2,
    "first_name": null,
    "last_name": null,
    "code": null,
    "email": "phamminhcuong1704bnfrv@gmail.com",
    "phone_number": null,
    "sex": 1,
    "birthday": null,
    "address": null,
    "avatar": null,
    "is_active": 1,
    "last_login": null,
    "last_logout": null,
    "slack_webhook_url": null,
    "created_at": "2018-03-15 18:53:14",
    "updated_at": "2018-06-08 11:51:33",
    "deleted_at": null,
    "coin": "10000000000000000000",
    "locale": null,
    "group_id": 1,
    "full_name": " ",
    "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjI4N2Y0YzNlM2U5ZGNlMTM1NGM1YzRjOGFmNDY4ZTM4MzFhOWM3MDkzMzAzNmNiMThlZGY0Y2NlMWU1N2ZlOTk0YTI5MTc4MDY5ZjAxYWNkIn0.eyJhdWQiOiIyIiwianRpIjoiMjg3ZjRjM2UzZTlkY2UxMzU0YzVjNGM4YWY0NjhlMzgzMWE5YzcwOTMzMDM2Y2IxOGVkZjRjY2UxZTU3ZmU5OTRhMjkxNzgwNjlmMDFhY2QiLCJpYXQiOjE1NTc1NjMxNDIsIm5iZiI6MTU1NzU2MzE0MiwiZXhwIjoxNTU4ODU5MTQyLCJzdWIiOiIyIiwic2NvcGVzIjpbXX0.hIwddnMrE-PawCfA-fE581qSf3VqIi4urZTLc0xpjiq9hsRv3oRy3bZwOcpgZCUs0QFC-_dhGwhYFShgfmk5j90-dBKSIcv333rE1eYqD9tHw3qL8qTsMlyNQgUqSgRXCjS8hE0tJrRzEXgvYh8s0bnTfIEIZHYicHaVDFgcBoxSutVZd57wdhKE9C0MOk9nN-rqQIdAmPplC0FFtkLGAEpu0C19ilLKlaZC8MRphPtih0PA2djTgdoU29JB6RviU7QvTJOKAiJXp_hd9IubcE0T0ihWVtCsQwR81AZz_sB19mC6qymtiuO-1GL3o8dxHztPEKINqZ3QPVRdYHq5Hq_MFzyy9Ykx5fCj8n6IIQQrHk9sMXs25WEgIZc-75ntcDxBODy_zO-DPLSzWSkkEaT1ukCbEEnmwQD6X34nvpZYuTN8tYlLR9GfNcO7czaEn2v6dl1FIlB1iQimax-pqS2FVGalFgtqgu7utswH9gRgzMP498Y5HBpEIWVmJeWmSk6n3AidTdFfvnQnps8vp9bcgUuE_hlQB2PiwxtLTXKR3sCkY3EvW6jx-_j2vNc32HQMTR0mkld1pXpacWbYkPH5GHTmEj3IY5eZ3JRy3bxZxtu-iSu5V2ZbTTZqTgTWOmRefWytiJmJK4HELfpeHJDoLK9DiyPhCuSKBK_5uFU",
    "token_type": "Bearer",
    "expires_in": 1296000,
    "refresh_token": "def502005f6085fa5da4a5f22b446234b165b933be0d1a13a8fc6c56c94de1e0cc94ae21658fb1333ab525643827a7dece44e2a690fb000bf59606edabd5c9cc9405e874aae21f027f7ca957def0632d9ed489ec83ea7f29d9e4bf0c34f98793f55a560ae14e46bc0862679d3f414d51ad7255208e2c67708234f4b02baed0b16842e02ceeb6e6f00406043977c0ca825197c0f7868d868088b20d4b262af85e55d0860de381cdeb5671977ec40a71a576be8ed635ac2613face7910b15029c13db61acaf002230180c8a9f8af64884a0a8f96500000a1ef1297055b42bc8c5bad4d1d937a5d384be769a4f576b90658d65f17b91015e763dff406a80d88ed73347af8e0f8dcfb90c9bd94663f9b30d98de42e4db804855f92a50de7a0e0aa224c21fabdcb8a0b1841c29ce0dce6fda172ee62ad9c9603db8a0c50416a92d300d64a9d15d64eb998e84f1a9015b43711fd00e4c0c779aa6778e4b577ddd105976f"
}

HTTP Request

POST api/login

Body Parameters

Parameter Type Status Description
grant_type required optional The grant_type of the user.
client_id required optional The client_id of the user.
client_secret required optional The id of the user.
username required optional The email of the user.
password required optional The password of the user.
provider required optional The provider of the user.

Register a user

Example request:

curl -X POST "http://127.0.0.1:3000/api/register" \
    -H "Content-Type: application/json" \
    -d '{"email":"phamminhcuong1704bnz@gmail.com","password":"123456","password_confirmation":"123456"}'
const url = new URL("http://127.0.0.1:3000/api/register");

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

let body = {
    "email": "phamminhcuong1704bnz@gmail.com",
    "password": "123456",
    "password_confirmation": "123456"
}

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

Example response (200):

{
    "email": "phamminhcuong1704bnz@gmail.com",
    "updated_at": "2019-05-11 08:25:43",
    "created_at": "2019-05-11 08:25:43",
    "id": 221,
    "accessToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijg5OGQwNDE2YWZjYmI1ZTZmZGU0M2UzMjI4MmZiNmY4ZjdlZWIxMmIwZDMzYmU2NzZhMjA0NmZmODBlNjQ5YjhiOWZkODM0NzY3ZGY4ZGNiIn0.eyJhdWQiOiIxIiwianRpIjoiODk4ZDA0MTZhZmNiYjVlNmZkZTQzZTMyMjgyZmI2ZjhmN2VlYjEyYjBkMzNiZTY3NmEyMDQ2ZmY4MGU2NDliOGI5ZmQ4MzQ3NjdkZjhkY2IiLCJpYXQiOjE1NTc1NjMxNDMsIm5iZiI6MTU1NzU2MzE0MywiZXhwIjoxNTg5MTg1NTQzLCJzdWIiOiIyMjEiLCJzY29wZXMiOltdfQ.AUvBpb-1zpHNsy5eVLOecD5brUGLsXzDHhb_5tokNIiQjYENi6PuXc_CVsf8GXbmNBQuJ216o02pto2D1uaPLjnPspOn05CmIzBFAXyGDLIwRRO8Qin4JmxMM4X5BHom8ZEbuo_anoTQAkpceDU8oaFbLFBd5MBhmAqH796iRGFUsAbNxwO2xmESz8NtMI4D7_QA8GA0IrASKjMTrmOKM5F1b2i_lCdnM9gB2Gop0z5DvKJGzG56TTbDs047MELZu9xncn42n09wVDThHFuKRz3hId12UrII77mUsKyWUlkkD5j4BYld8FQZ9ouOxfTFaUlYphpDUVthELHdGjl4VotWVXm2Dm8gJnVOBHmgofopUEzZ5W_b6YtDbZtC81iApRj-OdPz5VnGjfzgL8NqarG64hNivAL8iLxUD2gixE-J1q2EF_w_uscrx0KCbKtCHIWARc7ZmePFuGc0kDsuaSv0rxMWc30YhdoTiS8mK2OAs2yrvFzH09tUgAH5Iv6rPrY6cIn_7ZJkPxb8MwrJjRU5h1GBioaI1LMXWmGVZLyrnYQgYo6_BlfpPZpqkVpWMF6zcSzdEOCfwR8DWTC0BKVzQtvfm6QGlt8yWZxcNUuTFh5FMaGtysAhLBVaBCAUEYF8JGZDVD3kihR3rWl7BKMcv7fKwE5_Xh0yQkuVgio",
    "full_name": " "
}

HTTP Request

POST api/register

Body Parameters

Parameter Type Status Description
email required optional The email of the user.
password required optional The password of the user.
password_confirmation required optional The password confirmation of the user.

Forgot Password

Example request:

curl -X POST "http://127.0.0.1:3000/api/forgot-password" \
    -H "Content-Type: application/json" \
    -d '{"email":"phamminhcuong1704bnfrv@gmail.com"}'
const url = new URL("http://127.0.0.1:3000/api/forgot-password");

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

let body = {
    "email": "phamminhcuong1704bnfrv@gmail.com"
}

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

Example response (200):

{
    "data": "passwords.sent"
}

HTTP Request

POST api/forgot-password

Body Parameters

Parameter Type Status Description
email required optional The email of the user.

Reset the given user's password.

Example request:

curl -X POST "http://127.0.0.1:3000/api/reset-password" \
    -H "Content-Type: application/json" \
    -d '{"email":"phamminhcuong1704bnfrv@gmail.com","token":"658fda2f0b79b92b406e4e80d8f5354ecc52e2423f99ea96d436a9e16538a962","password":"123456aA@","password_confirmation":"123456aA@"}'
const url = new URL("http://127.0.0.1:3000/api/reset-password");

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

let body = {
    "email": "phamminhcuong1704bnfrv@gmail.com",
    "token": "658fda2f0b79b92b406e4e80d8f5354ecc52e2423f99ea96d436a9e16538a962",
    "password": "123456aA@",
    "password_confirmation": "123456aA@"
}

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

Example response (422):

{
    "errors": [
        "Email invalid reset password"
    ]
}

HTTP Request

POST api/reset-password

Body Parameters

Parameter Type Status Description
email required optional The email of the user.
token required optional The token of the user.
password required optional The password of the user.
password_confirmation required optional The password_confirmation of the user.

api/verify-users

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/verify-users" 
const url = new URL("http://127.0.0.1:3000/api/verify-users");

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

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

Example response (200):

{
    "current_page": 1,
    "data": [
        {
            "id": 2,
            "user_id": 191,
            "code": "5c93349eab422BJ0PHaaIOC",
            "email": 0,
            "phone": 0,
            "otp_verified": 0,
            "google_authentication": null,
            "created_at": "2019-03-21 13:52:14",
            "updated_at": "2019-03-21 13:52:14"
        }
    ],
    "first_page_url": "http:\/\/localhost\/api\/verify-users?page=1",
    "from": 1,
    "last_page": 1,
    "last_page_url": "http:\/\/localhost\/api\/verify-users?page=1",
    "next_page_url": null,
    "path": "http:\/\/localhost\/api\/verify-users",
    "per_page": 10,
    "prev_page_url": null,
    "to": 1,
    "total": 1
}

HTTP Request

GET api/verify-users

api/verify-users/create

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/verify-users/create" 
const url = new URL("http://127.0.0.1:3000/api/verify-users/create");

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

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

Example response (500):

null

HTTP Request

GET api/verify-users/create

api/verify-users

Example request:

curl -X POST "http://127.0.0.1:3000/api/verify-users" 
const url = new URL("http://127.0.0.1:3000/api/verify-users");

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

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

Example response (500):

null

HTTP Request

POST api/verify-users

api/verify-users/{verify_user}

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/verify-users/1" 
const url = new URL("http://127.0.0.1:3000/api/verify-users/1");

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

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

Example response (404):

null

HTTP Request

GET api/verify-users/{verify_user}

api/verify-users/{verify_user}/edit

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/verify-users/1/edit" 
const url = new URL("http://127.0.0.1:3000/api/verify-users/1/edit");

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

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

Example response (404):

null

HTTP Request

GET api/verify-users/{verify_user}/edit

api/verify-users/{verify_user}

Example request:

curl -X PUT "http://127.0.0.1:3000/api/verify-users/1" 
const url = new URL("http://127.0.0.1:3000/api/verify-users/1");

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

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

Example response (404):

null

HTTP Request

PUT api/verify-users/{verify_user}

PATCH api/verify-users/{verify_user}

api/verify-users/{verify_user}

Example request:

curl -X DELETE "http://127.0.0.1:3000/api/verify-users/1" 
const url = new URL("http://127.0.0.1:3000/api/verify-users/1");

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

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

Example response (404):

null

HTTP Request

DELETE api/verify-users/{verify_user}

AML

APIs for aml

api/aml-settings

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/aml-settings" 
const url = new URL("http://127.0.0.1:3000/api/aml-settings");

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

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

Example response (200):

{
    "current_page": 1,
    "data": [
        {
            "id": 1,
            "amount": "84581.0000000000",
            "usd_price": "3.0000000000",
            "eth_price": "1.0000000000",
            "btc_price": "4.0000000000",
            "usd_sold_amount": "4.0000000000",
            "eth_sold_amount": "8.0000000000",
            "btc_sold_amount": "5.0000000000",
            "presenter_price": "2.0000000000",
            "presentee_price": "9.0000000000",
            "created_at": "2019-04-24 08:38:36",
            "updated_at": "2019-04-24 08:38:36"
        }
    ],
    "first_page_url": "http:\/\/localhost\/api\/aml-settings?page=1",
    "from": 1,
    "last_page": 1,
    "last_page_url": "http:\/\/localhost\/api\/aml-settings?page=1",
    "next_page_url": null,
    "path": "http:\/\/localhost\/api\/aml-settings",
    "per_page": 10,
    "prev_page_url": null,
    "to": 1,
    "total": 1
}

HTTP Request

GET api/aml-settings

api/aml-settings/create

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/aml-settings/create" 
const url = new URL("http://127.0.0.1:3000/api/aml-settings/create");

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

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

Example response (200):

null

HTTP Request

GET api/aml-settings/create

api/aml-settings

Example request:

curl -X POST "http://127.0.0.1:3000/api/aml-settings" 
const url = new URL("http://127.0.0.1:3000/api/aml-settings");

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

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

Example response (302):

null

HTTP Request

POST api/aml-settings

api/aml-settings/{aml_setting}

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/aml-settings/1" 
const url = new URL("http://127.0.0.1:3000/api/aml-settings/1");

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

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

Example response (200):

{
    "data": {
        "id": 1,
        "amount": "84581.0000000000",
        "usd_price": "3.0000000000",
        "eth_price": "1.0000000000",
        "btc_price": "4.0000000000",
        "usd_sold_amount": "4.0000000000",
        "eth_sold_amount": "8.0000000000",
        "btc_sold_amount": "5.0000000000",
        "presenter_price": "2.0000000000",
        "presentee_price": "9.0000000000",
        "created_at": "2019-04-24 08:38:36",
        "updated_at": "2019-04-24 08:38:36"
    }
}

HTTP Request

GET api/aml-settings/{aml_setting}

api/aml-settings/{aml_setting}/edit

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/aml-settings/1/edit" 
const url = new URL("http://127.0.0.1:3000/api/aml-settings/1/edit");

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

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

Example response (200):

{
    "data": {
        "id": 1,
        "amount": "84581.0000000000",
        "usd_price": "3.0000000000",
        "eth_price": "1.0000000000",
        "btc_price": "4.0000000000",
        "usd_sold_amount": "4.0000000000",
        "eth_sold_amount": "8.0000000000",
        "btc_sold_amount": "5.0000000000",
        "presenter_price": "2.0000000000",
        "presentee_price": "9.0000000000",
        "created_at": "2019-04-24 08:38:36",
        "updated_at": "2019-04-24 08:38:36"
    }
}

HTTP Request

GET api/aml-settings/{aml_setting}/edit

api/aml-settings/{aml_setting}

Example request:

curl -X PUT "http://127.0.0.1:3000/api/aml-settings/1" 
const url = new URL("http://127.0.0.1:3000/api/aml-settings/1");

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

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

Example response (302):

null

HTTP Request

PUT api/aml-settings/{aml_setting}

PATCH api/aml-settings/{aml_setting}

api/aml-settings/{aml_setting}

Example request:

curl -X DELETE "http://127.0.0.1:3000/api/aml-settings/1" 
const url = new URL("http://127.0.0.1:3000/api/aml-settings/1");

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

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

Example response (500):

null

HTTP Request

DELETE api/aml-settings/{aml_setting}

api/aml-transactions

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/aml-transactions" 
const url = new URL("http://127.0.0.1:3000/api/aml-transactions");

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

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

Example response (200):

{
    "current_page": 1,
    "data": [
        {
            "id": 100,
            "user_id": 10,
            "amount": "8.0000000000",
            "currency": "ETH",
            "bonus": "0.0000000000",
            "total": "2.0000000000",
            "created_at": "2019-04-24 08:38:37",
            "updated_at": "2019-04-24 08:38:37"
        },
        {
            "id": 99,
            "user_id": 9,
            "amount": "9.0000000000",
            "currency": "ETH",
            "bonus": "0.0000000000",
            "total": "3.0000000000",
            "created_at": "2019-04-24 08:38:37",
            "updated_at": "2019-04-24 08:38:37"
        },
        {
            "id": 98,
            "user_id": 6,
            "amount": "8.0000000000",
            "currency": "ETH",
            "bonus": "0.0000000000",
            "total": "2.0000000000",
            "created_at": "2019-04-24 08:38:37",
            "updated_at": "2019-04-24 08:38:37"
        },
        {
            "id": 97,
            "user_id": 3,
            "amount": "1.0000000000",
            "currency": "ETH",
            "bonus": "0.0000000000",
            "total": "10.0000000000",
            "created_at": "2019-04-24 08:38:37",
            "updated_at": "2019-04-24 08:38:37"
        },
        {
            "id": 96,
            "user_id": 1,
            "amount": "5.0000000000",
            "currency": "ETH",
            "bonus": "0.0000000000",
            "total": "6.0000000000",
            "created_at": "2019-04-24 08:38:37",
            "updated_at": "2019-04-24 08:38:37"
        },
        {
            "id": 95,
            "user_id": 5,
            "amount": "1.0000000000",
            "currency": "ETH",
            "bonus": "0.0000000000",
            "total": "3.0000000000",
            "created_at": "2019-04-24 08:38:37",
            "updated_at": "2019-04-24 08:38:37"
        },
        {
            "id": 94,
            "user_id": 3,
            "amount": "4.0000000000",
            "currency": "ETH",
            "bonus": "0.0000000000",
            "total": "6.0000000000",
            "created_at": "2019-04-24 08:38:37",
            "updated_at": "2019-04-24 08:38:37"
        },
        {
            "id": 93,
            "user_id": 2,
            "amount": "6.0000000000",
            "currency": "ETH",
            "bonus": "0.0000000000",
            "total": "6.0000000000",
            "created_at": "2019-04-24 08:38:37",
            "updated_at": "2019-04-24 08:38:37"
        },
        {
            "id": 92,
            "user_id": 6,
            "amount": "8.0000000000",
            "currency": "ETH",
            "bonus": "0.0000000000",
            "total": "1.0000000000",
            "created_at": "2019-04-24 08:38:37",
            "updated_at": "2019-04-24 08:38:37"
        },
        {
            "id": 91,
            "user_id": 7,
            "amount": "2.0000000000",
            "currency": "ETH",
            "bonus": "0.0000000000",
            "total": "9.0000000000",
            "created_at": "2019-04-24 08:38:37",
            "updated_at": "2019-04-24 08:38:37"
        }
    ],
    "first_page_url": "http:\/\/localhost\/api\/aml-transactions?page=1",
    "from": 1,
    "last_page": 10,
    "last_page_url": "http:\/\/localhost\/api\/aml-transactions?page=10",
    "next_page_url": "http:\/\/localhost\/api\/aml-transactions?page=2",
    "path": "http:\/\/localhost\/api\/aml-transactions",
    "per_page": 10,
    "prev_page_url": null,
    "to": 10,
    "total": 100
}

HTTP Request

GET api/aml-transactions

api/aml-transactions/create

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/aml-transactions/create" 
const url = new URL("http://127.0.0.1:3000/api/aml-transactions/create");

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

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

Example response (500):

null

HTTP Request

GET api/aml-transactions/create

api/aml-transactions

Example request:

curl -X POST "http://127.0.0.1:3000/api/aml-transactions" 
const url = new URL("http://127.0.0.1:3000/api/aml-transactions");

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

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

Example response (302):

null

HTTP Request

POST api/aml-transactions

api/aml-transactions/{aml_transaction}

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/aml-transactions/1" 
const url = new URL("http://127.0.0.1:3000/api/aml-transactions/1");

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

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

Example response (200):

{
    "data": {
        "id": 1,
        "user_id": 5,
        "amount": "10.0000000000",
        "currency": "ETH",
        "bonus": "0.0000000000",
        "total": "5.0000000000",
        "created_at": "2019-04-24 08:38:36",
        "updated_at": "2019-04-24 08:38:36"
    }
}

HTTP Request

GET api/aml-transactions/{aml_transaction}

api/aml-transactions/{aml_transaction}/edit

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/aml-transactions/1/edit" 
const url = new URL("http://127.0.0.1:3000/api/aml-transactions/1/edit");

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

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

Example response (200):

{
    "data": {
        "id": 1,
        "user_id": 5,
        "amount": "10.0000000000",
        "currency": "ETH",
        "bonus": "0.0000000000",
        "total": "5.0000000000",
        "created_at": "2019-04-24 08:38:36",
        "updated_at": "2019-04-24 08:38:36"
    }
}

HTTP Request

GET api/aml-transactions/{aml_transaction}/edit

api/aml-transactions/{aml_transaction}

Example request:

curl -X PUT "http://127.0.0.1:3000/api/aml-transactions/1" 
const url = new URL("http://127.0.0.1:3000/api/aml-transactions/1");

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

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

Example response (302):

null

HTTP Request

PUT api/aml-transactions/{aml_transaction}

PATCH api/aml-transactions/{aml_transaction}

api/aml-transactions/{aml_transaction}

Example request:

curl -X DELETE "http://127.0.0.1:3000/api/aml-transactions/1" 
const url = new URL("http://127.0.0.1:3000/api/aml-transactions/1");

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

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

Example response (500):

null

HTTP Request

DELETE api/aml-transactions/{aml_transaction}

Profile

APIs for profile

api/profile/user-albums

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-albums" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-albums");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-albums

api/profile/user-albums/create

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-albums/create" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-albums/create");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-albums/create

api/profile/user-albums

Example request:

curl -X POST "http://127.0.0.1:3000/api/profile/user-albums" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-albums");

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

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

Example response (302):

null

HTTP Request

POST api/profile/user-albums

api/profile/user-albums/{user_album}

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-albums/1" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-albums/1");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-albums/{user_album}

api/profile/user-albums/{user_album}/edit

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-albums/1/edit" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-albums/1/edit");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-albums/{user_album}/edit

api/profile/user-albums/{user_album}

Example request:

curl -X PUT "http://127.0.0.1:3000/api/profile/user-albums/1" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-albums/1");

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

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

Example response (302):

null

HTTP Request

PUT api/profile/user-albums/{user_album}

PATCH api/profile/user-albums/{user_album}

api/profile/user-albums/{user_album}

Example request:

curl -X DELETE "http://127.0.0.1:3000/api/profile/user-albums/1" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-albums/1");

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

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

Example response (302):

null

HTTP Request

DELETE api/profile/user-albums/{user_album}

api/profile/user-follows

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-follows" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-follows");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-follows

api/profile/user-follows/create

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-follows/create" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-follows/create");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-follows/create

api/profile/user-follows

Example request:

curl -X POST "http://127.0.0.1:3000/api/profile/user-follows" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-follows");

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

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

Example response (302):

null

HTTP Request

POST api/profile/user-follows

api/profile/user-follows/{user_follow}

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-follows/1" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-follows/1");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-follows/{user_follow}

api/profile/user-follows/{user_follow}/edit

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-follows/1/edit" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-follows/1/edit");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-follows/{user_follow}/edit

api/profile/user-follows/{user_follow}

Example request:

curl -X PUT "http://127.0.0.1:3000/api/profile/user-follows/1" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-follows/1");

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

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

Example response (302):

null

HTTP Request

PUT api/profile/user-follows/{user_follow}

PATCH api/profile/user-follows/{user_follow}

api/profile/user-follows/{user_follow}

Example request:

curl -X DELETE "http://127.0.0.1:3000/api/profile/user-follows/1" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-follows/1");

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

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

Example response (302):

null

HTTP Request

DELETE api/profile/user-follows/{user_follow}

api/profile/user-image-likes

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-image-likes" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-image-likes");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-image-likes

api/profile/user-image-likes/create

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-image-likes/create" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-image-likes/create");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-image-likes/create

api/profile/user-image-likes

Example request:

curl -X POST "http://127.0.0.1:3000/api/profile/user-image-likes" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-image-likes");

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

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

Example response (302):

null

HTTP Request

POST api/profile/user-image-likes

api/profile/user-image-likes/{user_image_like}

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-image-likes/1" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-image-likes/1");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-image-likes/{user_image_like}

api/profile/user-image-likes/{user_image_like}/edit

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-image-likes/1/edit" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-image-likes/1/edit");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-image-likes/{user_image_like}/edit

api/profile/user-image-likes/{user_image_like}

Example request:

curl -X PUT "http://127.0.0.1:3000/api/profile/user-image-likes/1" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-image-likes/1");

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

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

Example response (302):

null

HTTP Request

PUT api/profile/user-image-likes/{user_image_like}

PATCH api/profile/user-image-likes/{user_image_like}

api/profile/user-image-likes/{user_image_like}

Example request:

curl -X DELETE "http://127.0.0.1:3000/api/profile/user-image-likes/1" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-image-likes/1");

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

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

Example response (302):

null

HTTP Request

DELETE api/profile/user-image-likes/{user_image_like}

api/profile/user-images

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-images" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-images");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-images

api/profile/user-images/create

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-images/create" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-images/create");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-images/create

api/profile/user-images

Example request:

curl -X POST "http://127.0.0.1:3000/api/profile/user-images" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-images");

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

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

Example response (302):

null

HTTP Request

POST api/profile/user-images

api/profile/user-images/{user_image}

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-images/1" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-images/1");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-images/{user_image}

api/profile/user-images/{user_image}/edit

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-images/1/edit" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-images/1/edit");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-images/{user_image}/edit

api/profile/user-images/{user_image}

Example request:

curl -X PUT "http://127.0.0.1:3000/api/profile/user-images/1" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-images/1");

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

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

Example response (302):

null

HTTP Request

PUT api/profile/user-images/{user_image}

PATCH api/profile/user-images/{user_image}

api/profile/user-images/{user_image}

Example request:

curl -X DELETE "http://127.0.0.1:3000/api/profile/user-images/1" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-images/1");

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

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

Example response (302):

null

HTTP Request

DELETE api/profile/user-images/{user_image}

api/profile/user-rates

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-rates" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-rates");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-rates

api/profile/user-rates/create

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-rates/create" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-rates/create");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-rates/create

api/profile/user-rates

Example request:

curl -X POST "http://127.0.0.1:3000/api/profile/user-rates" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-rates");

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

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

Example response (302):

null

HTTP Request

POST api/profile/user-rates

api/profile/user-rates/{user_rate}

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-rates/1" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-rates/1");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-rates/{user_rate}

api/profile/user-rates/{user_rate}/edit

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-rates/1/edit" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-rates/1/edit");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-rates/{user_rate}/edit

api/profile/user-rates/{user_rate}

Example request:

curl -X PUT "http://127.0.0.1:3000/api/profile/user-rates/1" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-rates/1");

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

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

Example response (302):

null

HTTP Request

PUT api/profile/user-rates/{user_rate}

PATCH api/profile/user-rates/{user_rate}

api/profile/user-rates/{user_rate}

Example request:

curl -X DELETE "http://127.0.0.1:3000/api/profile/user-rates/1" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-rates/1");

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

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

Example response (302):

null

HTTP Request

DELETE api/profile/user-rates/{user_rate}

api/profile/user-profiles

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-profiles" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-profiles");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-profiles

api/profile/user-profiles/create

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-profiles/create" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-profiles/create");

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

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

Example response (302):

null

HTTP Request

GET api/profile/user-profiles/create

api/profile/user-profiles

Example request:

curl -X POST "http://127.0.0.1:3000/api/profile/user-profiles" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-profiles");

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

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

Example response (429):

null

HTTP Request

POST api/profile/user-profiles

api/profile/user-profiles/{user_profile}

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-profiles/1" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-profiles/1");

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

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

Example response (429):

null

HTTP Request

GET api/profile/user-profiles/{user_profile}

api/profile/user-profiles/{user_profile}/edit

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/profile/user-profiles/1/edit" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-profiles/1/edit");

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

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

Example response (429):

null

HTTP Request

GET api/profile/user-profiles/{user_profile}/edit

api/profile/user-profiles/{user_profile}

Example request:

curl -X PUT "http://127.0.0.1:3000/api/profile/user-profiles/1" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-profiles/1");

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

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

Example response (429):

null

HTTP Request

PUT api/profile/user-profiles/{user_profile}

PATCH api/profile/user-profiles/{user_profile}

api/profile/user-profiles/{user_profile}

Example request:

curl -X DELETE "http://127.0.0.1:3000/api/profile/user-profiles/1" 
const url = new URL("http://127.0.0.1:3000/api/profile/user-profiles/1");

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

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

Example response (429):

null

HTTP Request

DELETE api/profile/user-profiles/{user_profile}

Studio

APIs for studio

api/studio-follows

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/studio-follows" \
    -H "Content-Type: application/json" \
    -d '{"title":"aspernatur","body":"sunt","type":"quod","author_id":7,"thumbnail":"expedita"}'
const url = new URL("http://127.0.0.1:3000/api/studio-follows");

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

let body = {
    "title": "aspernatur",
    "body": "sunt",
    "type": "quod",
    "author_id": 7,
    "thumbnail": "expedita"
}

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

Example response (429):

null

HTTP Request

GET api/studio-follows

Body Parameters

Parameter Type Status Description
title string required The title of the post.
body string required The title of the post.
type string optional The type of post to create. Defaults to 'textophonious'.
author_id integer optional the ID of the author
thumbnail image optional This is required if the post type is 'imagelicious'.

api/studio-follows/create

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/studio-follows/create" 
const url = new URL("http://127.0.0.1:3000/api/studio-follows/create");

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

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

Example response (429):

null

HTTP Request

GET api/studio-follows/create

api/studio-follows

Example request:

curl -X POST "http://127.0.0.1:3000/api/studio-follows" \
    -H "Content-Type: application/json" \
    -d '{"title":"dicta","body":"ut","type":"fugit","author_id":9,"thumbnail":"et"}'
const url = new URL("http://127.0.0.1:3000/api/studio-follows");

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

let body = {
    "title": "dicta",
    "body": "ut",
    "type": "fugit",
    "author_id": 9,
    "thumbnail": "et"
}

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

Example response (429):

null

HTTP Request

POST api/studio-follows

Body Parameters

Parameter Type Status Description
title string required The title of the post.
body string required The title of the post.
type string optional The type of post to create. Defaults to 'textophonious'.
author_id integer optional the ID of the author
thumbnail image optional This is required if the post type is 'imagelicious'.

api/studio-follows/{studio_follow}

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/studio-follows/1" 
const url = new URL("http://127.0.0.1:3000/api/studio-follows/1");

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

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

Example response (429):

null

HTTP Request

GET api/studio-follows/{studio_follow}

api/studio-follows/{studio_follow}/edit

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/studio-follows/1/edit" 
const url = new URL("http://127.0.0.1:3000/api/studio-follows/1/edit");

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

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

Example response (429):

null

HTTP Request

GET api/studio-follows/{studio_follow}/edit

api/studio-follows/{studio_follow}

Example request:

curl -X PUT "http://127.0.0.1:3000/api/studio-follows/1" 
const url = new URL("http://127.0.0.1:3000/api/studio-follows/1");

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

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

Example response (429):

null

HTTP Request

PUT api/studio-follows/{studio_follow}

PATCH api/studio-follows/{studio_follow}

api/studio-follows/{studio_follow}

Example request:

curl -X DELETE "http://127.0.0.1:3000/api/studio-follows/1" 
const url = new URL("http://127.0.0.1:3000/api/studio-follows/1");

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

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

Example response (429):

null

HTTP Request

DELETE api/studio-follows/{studio_follow}

api/studio-rates

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/studio-rates" 
const url = new URL("http://127.0.0.1:3000/api/studio-rates");

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

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

Example response (429):

null

HTTP Request

GET api/studio-rates

api/studio-rates/create

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/studio-rates/create" 
const url = new URL("http://127.0.0.1:3000/api/studio-rates/create");

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

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

Example response (429):

null

HTTP Request

GET api/studio-rates/create

api/studio-rates

Example request:

curl -X POST "http://127.0.0.1:3000/api/studio-rates" 
const url = new URL("http://127.0.0.1:3000/api/studio-rates");

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

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

Example response (429):

null

HTTP Request

POST api/studio-rates

api/studio-rates/{studio_rate}

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/studio-rates/1" 
const url = new URL("http://127.0.0.1:3000/api/studio-rates/1");

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

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

Example response (429):

null

HTTP Request

GET api/studio-rates/{studio_rate}

api/studio-rates/{studio_rate}/edit

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/studio-rates/1/edit" 
const url = new URL("http://127.0.0.1:3000/api/studio-rates/1/edit");

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

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

Example response (429):

null

HTTP Request

GET api/studio-rates/{studio_rate}/edit

api/studio-rates/{studio_rate}

Example request:

curl -X PUT "http://127.0.0.1:3000/api/studio-rates/1" 
const url = new URL("http://127.0.0.1:3000/api/studio-rates/1");

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

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

Example response (429):

null

HTTP Request

PUT api/studio-rates/{studio_rate}

PATCH api/studio-rates/{studio_rate}

api/studio-rates/{studio_rate}

Example request:

curl -X DELETE "http://127.0.0.1:3000/api/studio-rates/1" 
const url = new URL("http://127.0.0.1:3000/api/studio-rates/1");

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

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

Example response (429):

null

HTTP Request

DELETE api/studio-rates/{studio_rate}

api/studio-reports

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/studio-reports" 
const url = new URL("http://127.0.0.1:3000/api/studio-reports");

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

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

Example response (429):

null

HTTP Request

GET api/studio-reports

api/studio-reports/create

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/studio-reports/create" 
const url = new URL("http://127.0.0.1:3000/api/studio-reports/create");

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

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

Example response (429):

null

HTTP Request

GET api/studio-reports/create

api/studio-reports

Example request:

curl -X POST "http://127.0.0.1:3000/api/studio-reports" 
const url = new URL("http://127.0.0.1:3000/api/studio-reports");

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

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

Example response (429):

null

HTTP Request

POST api/studio-reports

api/studio-reports/{studio_report}

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/studio-reports/1" 
const url = new URL("http://127.0.0.1:3000/api/studio-reports/1");

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

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

Example response (429):

null

HTTP Request

GET api/studio-reports/{studio_report}

api/studio-reports/{studio_report}/edit

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/studio-reports/1/edit" 
const url = new URL("http://127.0.0.1:3000/api/studio-reports/1/edit");

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

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

Example response (429):

null

HTTP Request

GET api/studio-reports/{studio_report}/edit

api/studio-reports/{studio_report}

Example request:

curl -X PUT "http://127.0.0.1:3000/api/studio-reports/1" 
const url = new URL("http://127.0.0.1:3000/api/studio-reports/1");

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

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

Example response (429):

null

HTTP Request

PUT api/studio-reports/{studio_report}

PATCH api/studio-reports/{studio_report}

api/studio-reports/{studio_report}

Example request:

curl -X DELETE "http://127.0.0.1:3000/api/studio-reports/1" 
const url = new URL("http://127.0.0.1:3000/api/studio-reports/1");

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

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

Example response (429):

null

HTTP Request

DELETE api/studio-reports/{studio_report}

api/studios

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/studios" 
const url = new URL("http://127.0.0.1:3000/api/studios");

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

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

Example response (429):

null

HTTP Request

GET api/studios

api/studios/create

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/studios/create" 
const url = new URL("http://127.0.0.1:3000/api/studios/create");

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

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

Example response (429):

null

HTTP Request

GET api/studios/create

api/studios

Example request:

curl -X POST "http://127.0.0.1:3000/api/studios" 
const url = new URL("http://127.0.0.1:3000/api/studios");

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

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

Example response (429):

null

HTTP Request

POST api/studios

api/studios/{studio}

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/studios/1" 
const url = new URL("http://127.0.0.1:3000/api/studios/1");

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

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

Example response (429):

null

HTTP Request

GET api/studios/{studio}

api/studios/{studio}/edit

Example request:

curl -X GET -G "http://127.0.0.1:3000/api/studios/1/edit" 
const url = new URL("http://127.0.0.1:3000/api/studios/1/edit");

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

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

Example response (429):

null

HTTP Request

GET api/studios/{studio}/edit

api/studios/{studio}

Example request:

curl -X PUT "http://127.0.0.1:3000/api/studios/1" 
const url = new URL("http://127.0.0.1:3000/api/studios/1");

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

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

Example response (429):

null

HTTP Request

PUT api/studios/{studio}

PATCH api/studios/{studio}

api/studios/{studio}

Example request:

curl -X DELETE "http://127.0.0.1:3000/api/studios/1" 
const url = new URL("http://127.0.0.1:3000/api/studios/1");

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

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

Example response (429):

null

HTTP Request

DELETE api/studios/{studio}