Introduction
This documentation aims to provide all the information you need to work with our API.
Authenticating requests
To authenticate requests, include 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 by visiting your dashboard and clicking Generate API token.
Access Link management
APIs for managing access link
Store a access link
requires authentication
This endpoint allows create a access link
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/access-links" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"domain\": \"ut\",
\"browser\": \"quia\",
\"device\": \"aut\",
\"ip\": \"rerum\",
\"clicked_at\": \"2024-11-29T21:25:43\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/access-links"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"domain": "ut",
"browser": "quia",
"device": "aut",
"ip": "rerum",
"clicked_at": "2024-11-29T21:25:43"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/access-links';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'domain' => 'ut',
'browser' => 'quia',
'device' => 'aut',
'ip' => 'rerum',
'clicked_at' => '2024-11-29T21:25:43',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/access-links'
payload = {
"domain": "ut",
"browser": "quia",
"device": "aut",
"ip": "rerum",
"clicked_at": "2024-11-29T21:25:43"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Example response (201):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Auth management
APIs for managing resources auth
Forgot password user request send email link reset
This endpoint allow request forgot password user
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/forgot-password" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"[email protected]\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/forgot-password"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "[email protected]"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/forgot-password';
$response = $client->post(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'email' => '[email protected]',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/forgot-password'
payload = {
"email": "[email protected]"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (404):
{
"sucess": false,
"message": "Message errors"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Example response (424):
{
"sucess": false,
"message": "Message errors"
}
Example response (429):
{
"sucess": false,
"message": "Message errors"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Reset password user
This endpoint allow reset password user
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/reset-password" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"[email protected]\",
\"token\": \"et\",
\"password\": \"id\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/reset-password"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "[email protected]",
"token": "et",
"password": "id"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/reset-password';
$response = $client->post(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'email' => '[email protected]',
'token' => 'et',
'password' => 'id',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/reset-password'
payload = {
"email": "[email protected]",
"token": "et",
"password": "id"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (404):
{
"sucess": false,
"message": "Message errors"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Example response (429):
{
"sucess": false,
"message": "Message errors"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
User login
This endpoint allows login user, before logging in you must do as indicated here https://laravel.com/docs/sanctum#spa-authenticating
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"[email protected]\",
\"password\": \"perspiciatis\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/login"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "[email protected]",
"password": "perspiciatis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/login';
$response = $client->post(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'email' => '[email protected]',
'password' => 'perspiciatis',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/login'
payload = {
"email": "[email protected]",
"password": "perspiciatis"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Example response (201):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Verify account user
This endpoint allow verification account user
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/email/verify/cum" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"expire\": \"optio\",
\"hash\": \"soluta\",
\"signature\": \"eum\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/email/verify/cum"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"expire": "optio",
"hash": "soluta",
"signature": "eum"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/email/verify/cum';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'expire' => 'optio',
'hash' => 'soluta',
'signature' => 'eum',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/email/verify/cum'
payload = {
"expire": "optio",
"hash": "soluta",
"signature": "eum"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (404):
{
"sucess": false,
"message": "Message errors"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Example response (429):
{
"sucess": false,
"message": "Message errors"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Resend email verify user
This endpoint allow resend email for verification user
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/email/resend" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"[email protected]\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/email/resend"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "[email protected]"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/email/resend';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'email' => '[email protected]',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/email/resend'
payload = {
"email": "[email protected]"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (404):
{
"sucess": false,
"message": "Message errors"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Example response (424):
{
"sucess": false,
"message": "Message errors"
}
Example response (429):
{
"sucess": false,
"message": "Message errors"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Logout session user
requires authentication
This endpoint logout session user
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/logout" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/logout"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/logout';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/logout'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Categories management
APIs for managing categories
Retrieve list categories
This endpoint list categories
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/categories" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page\": 2,
\"perPage\": 3,
\"is_accepted\": false,
\"locale\": \"ur_PK\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/categories"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page": 2,
"perPage": 3,
"is_accepted": false,
"locale": "ur_PK"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/categories';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'page' => 2,
'perPage' => 3,
'is_accepted' => false,
'locale' => 'ur_PK',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/categories'
payload = {
"page": 2,
"perPage": 3,
"is_accepted": false,
"locale": "ur_PK"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Coins management
APIs for managing coins
Retrieve list coins
This endpoint list coins
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/coins" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"locale\": \"ve_ZA\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/coins"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"locale": "ve_ZA"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/coins';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'locale' => 've_ZA',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/coins'
payload = {
"locale": "ve_ZA"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Countries management
APIs for managing countries
Retrieve list countries
This endpoint list countries
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/countries" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page\": 2,
\"perPage\": 11,
\"order_by\": \"asc\",
\"sort_by\": \"aut\",
\"locale\": \"kk_KZ\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/countries"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page": 2,
"perPage": 11,
"order_by": "asc",
"sort_by": "aut",
"locale": "kk_KZ"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/countries';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'page' => 2,
'perPage' => 11,
'order_by' => 'asc',
'sort_by' => 'aut',
'locale' => 'kk_KZ',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/countries'
payload = {
"page": 2,
"perPage": 11,
"order_by": "asc",
"sort_by": "aut",
"locale": "kk_KZ"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Information type management
APIs for managing result information type
Show information type
requires authentication
This endpoint retrieve detail information type by code (case email send code email and phone number send phone)
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/outreachs/search-web/information-type/ducimus" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/outreachs/search-web/information-type/ducimus"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs/search-web/information-type/ducimus';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs/search-web/information-type/ducimus'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Information web management
APIs for managing result information webs
Store a row information web
requires authentication
This endpoint allows create a row information web
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/outreachs/search-web/information-web" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"value\": \"perferendis\",
\"information_type_id\": 2,
\"search_web_id\": 14
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/outreachs/search-web/information-web"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"value": "perferendis",
"information_type_id": 2,
"search_web_id": 14
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs/search-web/information-web';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'value' => 'perferendis',
'information_type_id' => 2,
'search_web_id' => 14,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs/search-web/information-web'
payload = {
"value": "perferendis",
"information_type_id": 2,
"search_web_id": 14
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Example response (201):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a row information web
requires authentication
This endpoint allow delete a row information web
Example request:
curl --request DELETE \
"https://dev-api-media-content.appyweb.es/api/v1/outreachs/search-web/fugit/information-web/ipsam" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/outreachs/search-web/fugit/information-web/ipsam"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs/search-web/fugit/information-web/ipsam';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs/search-web/fugit/information-web/ipsam'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Languages management
APIs for managing languages
Retrieve list languages
This endpoint list languages
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/languages" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page\": 10,
\"perPage\": 5,
\"order_by\": \"asc\",
\"sort_by\": \"minus\",
\"filter\": \"illum\",
\"value\": \"est\",
\"locale\": \"ee_TG\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/languages"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page": 10,
"perPage": 5,
"order_by": "asc",
"sort_by": "minus",
"filter": "illum",
"value": "est",
"locale": "ee_TG"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/languages';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'page' => 10,
'perPage' => 5,
'order_by' => 'asc',
'sort_by' => 'minus',
'filter' => 'illum',
'value' => 'est',
'locale' => 'ee_TG',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/languages'
payload = {
"page": 10,
"perPage": 5,
"order_by": "asc",
"sort_by": "minus",
"filter": "illum",
"value": "est",
"locale": "ee_TG"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Link Types management
APIs for managing link types
Retrieve list link types
This endpoint list link types
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/link-types" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"locale\": \"es_DO\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/link-types"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"locale": "es_DO"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/link-types';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'locale' => 'es_DO',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/link-types'
payload = {
"locale": "es_DO"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Means management
APIs for managing means (medios)
Store a new mean from form
requires authentication
This endpoint allows create a new mean from form
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/means-form" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"domain\": \"sapiente\",
\"email\": \"[email protected]\",
\"additional_email\": \"[email protected]\",
\"contact_person\": \"agcjbclsi\",
\"price\": 3170.0763017,
\"price_appyweb\": 16385384.336,
\"maximun_link\": 11,
\"coin_id\": 2,
\"link_type_id\": 11,
\"language_id\": 18,
\"categories\": [
13
],
\"categories_not_accepted\": [
11
]
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/means-form"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"domain": "sapiente",
"email": "[email protected]",
"additional_email": "[email protected]",
"contact_person": "agcjbclsi",
"price": 3170.0763017,
"price_appyweb": 16385384.336,
"maximun_link": 11,
"coin_id": 2,
"link_type_id": 11,
"language_id": 18,
"categories": [
13
],
"categories_not_accepted": [
11
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/means-form';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'domain' => 'sapiente',
'email' => '[email protected]',
'additional_email' => '[email protected]',
'contact_person' => 'agcjbclsi',
'price' => 3170.0763017,
'price_appyweb' => 16385384.336,
'maximun_link' => 11,
'coin_id' => 2,
'link_type_id' => 11,
'language_id' => 18,
'categories' => [
13,
],
'categories_not_accepted' => [
11,
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/means-form'
payload = {
"domain": "sapiente",
"email": "[email protected]",
"additional_email": "[email protected]",
"contact_person": "agcjbclsi",
"price": 3170.0763017,
"price_appyweb": 16385384.336,
"maximun_link": 11,
"coin_id": 2,
"link_type_id": 11,
"language_id": 18,
"categories": [
13
],
"categories_not_accepted": [
11
]
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Example response (201):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Send file Excel with template bulk means
requires authentication
This endpoint allows send file Excel with template bulk means
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/means-send-excel" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "locale=so_KE"\
--form "file=@/tmp/phpSZk9Ib" const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/means-send-excel"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('locale', 'so_KE');
body.append('file', document.querySelector('input[name="file"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/means-send-excel';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'multipart/form-data',
'Accept' => 'application/json',
],
'multipart' => [
[
'name' => 'locale',
'contents' => 'so_KE'
],
[
'name' => 'file',
'contents' => fopen('/tmp/phpSZk9Ib', 'r')
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/means-send-excel'
files = {
'locale': (None, 'so_KE'),
'file': open('/tmp/phpSZk9Ib', 'rb')}
payload = {
"locale": "so_KE"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'multipart/form-data',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, files=files)
response.json()Example response (201):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Import means from template file Excel
requires authentication
This endpoint allows import from template file Excel
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/means-import" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "locale=en_BW"\
--form "file=@/tmp/phpVWaZGx" const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/means-import"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('locale', 'en_BW');
body.append('file', document.querySelector('input[name="file"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/means-import';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'multipart/form-data',
'Accept' => 'application/json',
],
'multipart' => [
[
'name' => 'locale',
'contents' => 'en_BW'
],
[
'name' => 'file',
'contents' => fopen('/tmp/phpVWaZGx', 'r')
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/means-import'
files = {
'locale': (None, 'en_BW'),
'file': open('/tmp/phpVWaZGx', 'rb')}
payload = {
"locale": "en_BW"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'multipart/form-data',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, files=files)
response.json()Example response (201):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Retrieve list means
This endpoint list means
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/means" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page\": 10,
\"per_page\": 11,
\"order_by\": \"desc\",
\"sort_by\": \"eos\",
\"filter\": \"error\",
\"value\": \"dolores\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/means"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page": 10,
"per_page": 11,
"order_by": "desc",
"sort_by": "eos",
"filter": "error",
"value": "dolores"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/means';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'page' => 10,
'per_page' => 11,
'order_by' => 'desc',
'sort_by' => 'eos',
'filter' => 'error',
'value' => 'dolores',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/means'
payload = {
"page": 10,
"per_page": 11,
"order_by": "desc",
"sort_by": "eos",
"filter": "error",
"value": "dolores"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a new mean
requires authentication
This endpoint allows create a new mean
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/means" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"domain\": \"sed\",
\"email\": \"[email protected]\",
\"additional_email\": \"[email protected]\",
\"contact_person\": \"rgmrmobcpmvlmridaztrfdzqjbbhulaihipcvxbkpzvhqvpwdu\",
\"price\": 2390.582040385,
\"price_appyweb\": 1.2,
\"maximun_link\": 16,
\"coin_id\": 9,
\"link_type_id\": 20,
\"type_website_id\": 6,
\"language_id\": 20,
\"categories\": [
12
],
\"categories_not_accepted\": [
7
],
\"observations\": \"uxkevvnckzzzgayszeggflordugovpetupggrnlanhaikmkxdbouhfsxcrzmfxqqvylkw\",
\"description\": \"Sint debitis sunt praesentium sunt ab eaque voluptatem eius.\",
\"social_sharing\": false,
\"social_sharing_extra_cost\": true,
\"social_sharing_extra_cost_value\": 2.0224834,
\"home_links\": false,
\"home_links_extra_cost\": false,
\"home_links_extra_cost_value\": 157.692729,
\"write_text\": true,
\"write_text_extra_cost\": true,
\"write_text_extra_cost_value\": 23824358.72,
\"newsletter\": true,
\"newsletter_extra_cost\": true,
\"newsletter_extra_cost_value\": 0.6100515,
\"audience_country_id\": 12
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/means"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"domain": "sed",
"email": "[email protected]",
"additional_email": "[email protected]",
"contact_person": "rgmrmobcpmvlmridaztrfdzqjbbhulaihipcvxbkpzvhqvpwdu",
"price": 2390.582040385,
"price_appyweb": 1.2,
"maximun_link": 16,
"coin_id": 9,
"link_type_id": 20,
"type_website_id": 6,
"language_id": 20,
"categories": [
12
],
"categories_not_accepted": [
7
],
"observations": "uxkevvnckzzzgayszeggflordugovpetupggrnlanhaikmkxdbouhfsxcrzmfxqqvylkw",
"description": "Sint debitis sunt praesentium sunt ab eaque voluptatem eius.",
"social_sharing": false,
"social_sharing_extra_cost": true,
"social_sharing_extra_cost_value": 2.0224834,
"home_links": false,
"home_links_extra_cost": false,
"home_links_extra_cost_value": 157.692729,
"write_text": true,
"write_text_extra_cost": true,
"write_text_extra_cost_value": 23824358.72,
"newsletter": true,
"newsletter_extra_cost": true,
"newsletter_extra_cost_value": 0.6100515,
"audience_country_id": 12
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/means';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'domain' => 'sed',
'email' => '[email protected]',
'additional_email' => '[email protected]',
'contact_person' => 'rgmrmobcpmvlmridaztrfdzqjbbhulaihipcvxbkpzvhqvpwdu',
'price' => 2390.582040385,
'price_appyweb' => 1.2,
'maximun_link' => 16,
'coin_id' => 9,
'link_type_id' => 20,
'type_website_id' => 6,
'language_id' => 20,
'categories' => [
12,
],
'categories_not_accepted' => [
7,
],
'observations' => 'uxkevvnckzzzgayszeggflordugovpetupggrnlanhaikmkxdbouhfsxcrzmfxqqvylkw',
'description' => 'Sint debitis sunt praesentium sunt ab eaque voluptatem eius.',
'social_sharing' => false,
'social_sharing_extra_cost' => true,
'social_sharing_extra_cost_value' => 2.0224834,
'home_links' => false,
'home_links_extra_cost' => false,
'home_links_extra_cost_value' => 157.692729,
'write_text' => true,
'write_text_extra_cost' => true,
'write_text_extra_cost_value' => 23824358.72,
'newsletter' => true,
'newsletter_extra_cost' => true,
'newsletter_extra_cost_value' => 0.6100515,
'audience_country_id' => 12,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/means'
payload = {
"domain": "sed",
"email": "[email protected]",
"additional_email": "[email protected]",
"contact_person": "rgmrmobcpmvlmridaztrfdzqjbbhulaihipcvxbkpzvhqvpwdu",
"price": 2390.582040385,
"price_appyweb": 1.2,
"maximun_link": 16,
"coin_id": 9,
"link_type_id": 20,
"type_website_id": 6,
"language_id": 20,
"categories": [
12
],
"categories_not_accepted": [
7
],
"observations": "uxkevvnckzzzgayszeggflordugovpetupggrnlanhaikmkxdbouhfsxcrzmfxqqvylkw",
"description": "Sint debitis sunt praesentium sunt ab eaque voluptatem eius.",
"social_sharing": false,
"social_sharing_extra_cost": true,
"social_sharing_extra_cost_value": 2.0224834,
"home_links": false,
"home_links_extra_cost": false,
"home_links_extra_cost_value": 157.692729,
"write_text": true,
"write_text_extra_cost": true,
"write_text_extra_cost_value": 23824358.72,
"newsletter": true,
"newsletter_extra_cost": true,
"newsletter_extra_cost_value": 0.6100515,
"audience_country_id": 12
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Example response (201):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show mean
requires authentication
This endpoint retrieve detail mean
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/means/inventore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/means/inventore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/means/inventore';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/means/inventore'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a mean
requires authentication
This endpoint allow update a mean
Example request:
curl --request PUT \
"https://dev-api-media-content.appyweb.es/api/v1/means/soluta" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"[email protected]\",
\"additional_email\": \"[email protected]\",
\"contact_person\": \"vbqewrsgpnvrqddzjselkmmauqsaztgsagrbfmdbafug\",
\"price\": 200924.39,
\"price_appyweb\": 3308.93751599,
\"maximun_link\": 13,
\"coin_id\": 2,
\"link_type_id\": 17,
\"type_website_id\": 1,
\"language_id\": 3,
\"categories\": [
8
],
\"categories_not_accepted\": [
7
],
\"observations\": \"oslcogepimxamlepiyhjlqoywlksunkezxenunlcyotsobrljlgxqbs\",
\"description\": \"Eum tenetur debitis quae quo et qui.\",
\"social_sharing\": false,
\"social_sharing_extra_cost\": false,
\"social_sharing_extra_cost_value\": 44960.218,
\"home_links\": false,
\"home_links_extra_cost\": false,
\"home_links_extra_cost_value\": 1.029,
\"write_text\": true,
\"write_text_extra_cost\": true,
\"write_text_extra_cost_value\": 612.7825496,
\"newsletter\": true,
\"newsletter_extra_cost\": false,
\"newsletter_extra_cost_value\": 350,
\"audience_country_id\": 7
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/means/soluta"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "[email protected]",
"additional_email": "[email protected]",
"contact_person": "vbqewrsgpnvrqddzjselkmmauqsaztgsagrbfmdbafug",
"price": 200924.39,
"price_appyweb": 3308.93751599,
"maximun_link": 13,
"coin_id": 2,
"link_type_id": 17,
"type_website_id": 1,
"language_id": 3,
"categories": [
8
],
"categories_not_accepted": [
7
],
"observations": "oslcogepimxamlepiyhjlqoywlksunkezxenunlcyotsobrljlgxqbs",
"description": "Eum tenetur debitis quae quo et qui.",
"social_sharing": false,
"social_sharing_extra_cost": false,
"social_sharing_extra_cost_value": 44960.218,
"home_links": false,
"home_links_extra_cost": false,
"home_links_extra_cost_value": 1.029,
"write_text": true,
"write_text_extra_cost": true,
"write_text_extra_cost_value": 612.7825496,
"newsletter": true,
"newsletter_extra_cost": false,
"newsletter_extra_cost_value": 350,
"audience_country_id": 7
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/means/soluta';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'email' => '[email protected]',
'additional_email' => '[email protected]',
'contact_person' => 'vbqewrsgpnvrqddzjselkmmauqsaztgsagrbfmdbafug',
'price' => 200924.39,
'price_appyweb' => 3308.93751599,
'maximun_link' => 13,
'coin_id' => 2,
'link_type_id' => 17,
'type_website_id' => 1,
'language_id' => 3,
'categories' => [
8,
],
'categories_not_accepted' => [
7,
],
'observations' => 'oslcogepimxamlepiyhjlqoywlksunkezxenunlcyotsobrljlgxqbs',
'description' => 'Eum tenetur debitis quae quo et qui.',
'social_sharing' => false,
'social_sharing_extra_cost' => false,
'social_sharing_extra_cost_value' => 44960.218,
'home_links' => false,
'home_links_extra_cost' => false,
'home_links_extra_cost_value' => 1.029,
'write_text' => true,
'write_text_extra_cost' => true,
'write_text_extra_cost_value' => 612.7825496,
'newsletter' => true,
'newsletter_extra_cost' => false,
'newsletter_extra_cost_value' => 350.0,
'audience_country_id' => 7,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/means/soluta'
payload = {
"email": "[email protected]",
"additional_email": "[email protected]",
"contact_person": "vbqewrsgpnvrqddzjselkmmauqsaztgsagrbfmdbafug",
"price": 200924.39,
"price_appyweb": 3308.93751599,
"maximun_link": 13,
"coin_id": 2,
"link_type_id": 17,
"type_website_id": 1,
"language_id": 3,
"categories": [
8
],
"categories_not_accepted": [
7
],
"observations": "oslcogepimxamlepiyhjlqoywlksunkezxenunlcyotsobrljlgxqbs",
"description": "Eum tenetur debitis quae quo et qui.",
"social_sharing": false,
"social_sharing_extra_cost": false,
"social_sharing_extra_cost_value": 44960.218,
"home_links": false,
"home_links_extra_cost": false,
"home_links_extra_cost_value": 1.029,
"write_text": true,
"write_text_extra_cost": true,
"write_text_extra_cost_value": 612.7825496,
"newsletter": true,
"newsletter_extra_cost": false,
"newsletter_extra_cost_value": 350,
"audience_country_id": 7
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a mean
requires authentication
This endpoint allow delete a mean
Example request:
curl --request DELETE \
"https://dev-api-media-content.appyweb.es/api/v1/means/qui" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/means/qui"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/means/qui';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/means/qui'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Retrieve list means filtered
This endpoint list means filterred
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/means/list/filtered" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page\": 15,
\"per_page\": 2,
\"domain\": \"qui\",
\"categories\": [
3
],
\"categories_not_accepted\": [
6
],
\"audience_country_id\": 8,
\"language_id\": 4,
\"maximun_link\": 5,
\"link_type_id\": 9
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/means/list/filtered"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page": 15,
"per_page": 2,
"domain": "qui",
"categories": [
3
],
"categories_not_accepted": [
6
],
"audience_country_id": 8,
"language_id": 4,
"maximun_link": 5,
"link_type_id": 9
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/means/list/filtered';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'page' => 15,
'per_page' => 2,
'domain' => 'qui',
'categories' => [
3,
],
'categories_not_accepted' => [
6,
],
'audience_country_id' => 8,
'language_id' => 4,
'maximun_link' => 5,
'link_type_id' => 9,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/means/list/filtered'
payload = {
"page": 15,
"per_page": 2,
"domain": "qui",
"categories": [
3
],
"categories_not_accepted": [
6
],
"audience_country_id": 8,
"language_id": 4,
"maximun_link": 5,
"link_type_id": 9
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Outreach management
APIs for managing outreach
Retrieve list oureachs
This endpoint list oureachs
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/outreachs" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page\": 14,
\"per_page\": 12,
\"order_by\": \"desc\",
\"sort_by\": \"vel\",
\"filter\": \"ab\",
\"value\": \"distinctio\",
\"locale\": \"zh_CN\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/outreachs"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page": 14,
"per_page": 12,
"order_by": "desc",
"sort_by": "vel",
"filter": "ab",
"value": "distinctio",
"locale": "zh_CN"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'page' => 14,
'per_page' => 12,
'order_by' => 'desc',
'sort_by' => 'vel',
'filter' => 'ab',
'value' => 'distinctio',
'locale' => 'zh_CN',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs'
payload = {
"page": 14,
"per_page": 12,
"order_by": "desc",
"sort_by": "vel",
"filter": "ab",
"value": "distinctio",
"locale": "zh_CN"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a project outreach
requires authentication
This endpoint allows create a project outreach
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/outreachs" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"maiores\",
\"description\": \"Nihil necessitatibus alias dolorum dignissimos explicabo et.\",
\"keywords\": \"sint\",
\"total_records\": 87,
\"language_id\": 10,
\"country_id\": 4,
\"categories\": [
9
],
\"tlds\": [
3
],
\"search_operators\": [
8
],
\"domains\": [
\"possimus\"
],
\"type\": \"keyword\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/outreachs"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "maiores",
"description": "Nihil necessitatibus alias dolorum dignissimos explicabo et.",
"keywords": "sint",
"total_records": 87,
"language_id": 10,
"country_id": 4,
"categories": [
9
],
"tlds": [
3
],
"search_operators": [
8
],
"domains": [
"possimus"
],
"type": "keyword"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'maiores',
'description' => 'Nihil necessitatibus alias dolorum dignissimos explicabo et.',
'keywords' => 'sint',
'total_records' => 87,
'language_id' => 10,
'country_id' => 4,
'categories' => [
9,
],
'tlds' => [
3,
],
'search_operators' => [
8,
],
'domains' => [
'possimus',
],
'type' => 'keyword',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs'
payload = {
"name": "maiores",
"description": "Nihil necessitatibus alias dolorum dignissimos explicabo et.",
"keywords": "sint",
"total_records": 87,
"language_id": 10,
"country_id": 4,
"categories": [
9
],
"tlds": [
3
],
"search_operators": [
8
],
"domains": [
"possimus"
],
"type": "keyword"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Example response (201):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show project outreach
requires authentication
This endpoint retrieve detail project outreach
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/outreachs/rerum" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/outreachs/rerum"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs/rerum';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs/rerum'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a outreach project
requires authentication
This endpoint allow update a outreach project
Example request:
curl --request PUT \
"https://dev-api-media-content.appyweb.es/api/v1/outreachs/illo" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"earum\",
\"description\": \"Pariatur quod molestiae et temporibus non sit ut occaecati.\",
\"keywords\": \"est\",
\"total_records\": 25,
\"language_id\": 20,
\"country_id\": 2,
\"categories\": [
4
],
\"tlds\": [
15
],
\"search_operators\": [
15
],
\"domains\": [
\"eius\"
],
\"type\": \"keyword\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/outreachs/illo"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "earum",
"description": "Pariatur quod molestiae et temporibus non sit ut occaecati.",
"keywords": "est",
"total_records": 25,
"language_id": 20,
"country_id": 2,
"categories": [
4
],
"tlds": [
15
],
"search_operators": [
15
],
"domains": [
"eius"
],
"type": "keyword"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs/illo';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'earum',
'description' => 'Pariatur quod molestiae et temporibus non sit ut occaecati.',
'keywords' => 'est',
'total_records' => 25,
'language_id' => 20,
'country_id' => 2,
'categories' => [
4,
],
'tlds' => [
15,
],
'search_operators' => [
15,
],
'domains' => [
'eius',
],
'type' => 'keyword',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs/illo'
payload = {
"name": "earum",
"description": "Pariatur quod molestiae et temporibus non sit ut occaecati.",
"keywords": "est",
"total_records": 25,
"language_id": 20,
"country_id": 2,
"categories": [
4
],
"tlds": [
15
],
"search_operators": [
15
],
"domains": [
"eius"
],
"type": "keyword"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a outreach project
requires authentication
This endpoint allow delete a outreach project
Example request:
curl --request DELETE \
"https://dev-api-media-content.appyweb.es/api/v1/outreachs/error" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/outreachs/error"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs/error';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs/error'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Retrieve list excluded domain
This endpoint list excluded domain
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/excluded-domains" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page\": 5,
\"per_page\": 19,
\"locale\": \"om_KE\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/excluded-domains"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page": 5,
"per_page": 19,
"locale": "om_KE"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/excluded-domains';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'page' => 5,
'per_page' => 19,
'locale' => 'om_KE',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/excluded-domains'
payload = {
"page": 5,
"per_page": 19,
"locale": "om_KE"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a excluded domain
requires authentication
This endpoint allows create a excluded domain
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/excluded-domains" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"domain\": \"reiciendis\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/excluded-domains"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"domain": "reiciendis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/excluded-domains';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'domain' => 'reiciendis',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/excluded-domains'
payload = {
"domain": "reiciendis"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Example response (201):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show excluded domain
requires authentication
This endpoint retrieve detail excluded domain
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/excluded-domains/corrupti" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/excluded-domains/corrupti"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/excluded-domains/corrupti';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/excluded-domains/corrupti'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a excluded domain
requires authentication
This endpoint allow update a excluded domain
Example request:
curl --request PUT \
"https://dev-api-media-content.appyweb.es/api/v1/excluded-domains/atque" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"domain\": \"quasi\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/excluded-domains/atque"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"domain": "quasi"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/excluded-domains/atque';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'domain' => 'quasi',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/excluded-domains/atque'
payload = {
"domain": "quasi"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a excluded domain
requires authentication
This endpoint allow delete a excluded domain
Example request:
curl --request DELETE \
"https://dev-api-media-content.appyweb.es/api/v1/excluded-domains/deserunt" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/excluded-domains/deserunt"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/excluded-domains/deserunt';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/excluded-domains/deserunt'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Platform management
APIs for managing platform
Retrieve list platforms
This endpoint list platforms
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/platforms" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page\": 19,
\"per_page\": 6,
\"order_by\": \"asc\",
\"sort_by\": \"est\",
\"filter\": \"sunt\",
\"value\": \"nesciunt\",
\"locale\": \"aa_DJ\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/platforms"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page": 19,
"per_page": 6,
"order_by": "asc",
"sort_by": "est",
"filter": "sunt",
"value": "nesciunt",
"locale": "aa_DJ"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/platforms';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'page' => 19,
'per_page' => 6,
'order_by' => 'asc',
'sort_by' => 'est',
'filter' => 'sunt',
'value' => 'nesciunt',
'locale' => 'aa_DJ',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/platforms'
payload = {
"page": 19,
"per_page": 6,
"order_by": "asc",
"sort_by": "est",
"filter": "sunt",
"value": "nesciunt",
"locale": "aa_DJ"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a platform
requires authentication
This endpoint allows create a platform
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/platforms" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"et\",
\"is_active\": true
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/platforms"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "et",
"is_active": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/platforms';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'et',
'is_active' => true,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/platforms'
payload = {
"name": "et",
"is_active": true
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Example response (201):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show platform
requires authentication
This endpoint retrieve detail platform
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/platforms/eos" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/platforms/eos"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/platforms/eos';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/platforms/eos'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a platform
requires authentication
This endpoint allow update a platform
Example request:
curl --request PUT \
"https://dev-api-media-content.appyweb.es/api/v1/platforms/vel" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"omnis\",
\"is_active\": true
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/platforms/vel"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "omnis",
"is_active": true
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/platforms/vel';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'omnis',
'is_active' => true,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/platforms/vel'
payload = {
"name": "omnis",
"is_active": true
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a platform
requires authentication
This endpoint allow delete a platform
Example request:
curl --request DELETE \
"https://dev-api-media-content.appyweb.es/api/v1/platforms/eos" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/platforms/eos"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/platforms/eos';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/platforms/eos'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Platform metrics management
APIs for managing platform metrics
Retrieve list platforms
This endpoint list platforms
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/platform-metrics" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"per_page\": 50,
\"page\": 20,
\"website\": \"aut\",
\"dr_min\": 12,
\"dr_max\": 17,
\"cf_min\": 8,
\"cf_max\": 14,
\"tf_min\": 6,
\"tf_max\": 5,
\"visibility_index_min\": 1,
\"visibility_index_max\": 17,
\"keywords_min\": 16,
\"keywords_max\": 16,
\"locale\": \"fur_IT\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/platform-metrics"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"per_page": 50,
"page": 20,
"website": "aut",
"dr_min": 12,
"dr_max": 17,
"cf_min": 8,
"cf_max": 14,
"tf_min": 6,
"tf_max": 5,
"visibility_index_min": 1,
"visibility_index_max": 17,
"keywords_min": 16,
"keywords_max": 16,
"locale": "fur_IT"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/platform-metrics';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'per_page' => 50,
'page' => 20,
'website' => 'aut',
'dr_min' => 12,
'dr_max' => 17,
'cf_min' => 8,
'cf_max' => 14,
'tf_min' => 6,
'tf_max' => 5,
'visibility_index_min' => 1,
'visibility_index_max' => 17,
'keywords_min' => 16,
'keywords_max' => 16,
'locale' => 'fur_IT',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/platform-metrics'
payload = {
"per_page": 50,
"page": 20,
"website": "aut",
"dr_min": 12,
"dr_max": 17,
"cf_min": 8,
"cf_max": 14,
"tf_min": 6,
"tf_max": 5,
"visibility_index_min": 1,
"visibility_index_max": 17,
"keywords_min": 16,
"keywords_max": 16,
"locale": "fur_IT"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store metrics platform
requires authentication
This endpoint allows create metrics platform
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/platform-metrics" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"row\": [
{
\"website\": \"eligendi\",
\"platform\": \"ipsa\",
\"price\": 32,
\"dr\": 41,
\"cf\": 19,
\"tf\": 62,
\"visibility_index\": 77,
\"accepted_topic\": \"sit\",
\"not_accepted_topic\": \"iusto\",
\"payload\": [],
\"fields\": \"praesentium\",
\"country\": \"vero\",
\"language\": \"eos\",
\"observation\": \"voluptas\"
}
]
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/platform-metrics"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"row": [
{
"website": "eligendi",
"platform": "ipsa",
"price": 32,
"dr": 41,
"cf": 19,
"tf": 62,
"visibility_index": 77,
"accepted_topic": "sit",
"not_accepted_topic": "iusto",
"payload": [],
"fields": "praesentium",
"country": "vero",
"language": "eos",
"observation": "voluptas"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/platform-metrics';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'row' => [
[
'website' => 'eligendi',
'platform' => 'ipsa',
'price' => 32,
'dr' => 41,
'cf' => 19,
'tf' => 62,
'visibility_index' => 77,
'accepted_topic' => 'sit',
'not_accepted_topic' => 'iusto',
'payload' => [],
'fields' => 'praesentium',
'country' => 'vero',
'language' => 'eos',
'observation' => 'voluptas',
],
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/platform-metrics'
payload = {
"row": [
{
"website": "eligendi",
"platform": "ipsa",
"price": 32,
"dr": 41,
"cf": 19,
"tf": 62,
"visibility_index": 77,
"accepted_topic": "sit",
"not_accepted_topic": "iusto",
"payload": [],
"fields": "praesentium",
"country": "vero",
"language": "eos",
"observation": "voluptas"
}
]
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Example response (201):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show metric of platform
requires authentication
This endpoint retrieve detail metric platform
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/platform-metrics/facilis" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/platform-metrics/facilis"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/platform-metrics/facilis';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/platform-metrics/facilis'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a platform
requires authentication
This endpoint allow update a platform
Example request:
curl --request PUT \
"https://dev-api-media-content.appyweb.es/api/v1/platform-metrics/incidunt" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"price\": 13,
\"dr\": 84,
\"cf\": 36,
\"tf\": 24,
\"visibility_index\": 88,
\"accepted_topic\": \"qui\",
\"not_accepted_topic\": \"et\",
\"fields\": \"rem\",
\"country\": \"atque\",
\"language\": \"ut\",
\"observation\": \"et\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/platform-metrics/incidunt"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"price": 13,
"dr": 84,
"cf": 36,
"tf": 24,
"visibility_index": 88,
"accepted_topic": "qui",
"not_accepted_topic": "et",
"fields": "rem",
"country": "atque",
"language": "ut",
"observation": "et"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/platform-metrics/incidunt';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'price' => 13,
'dr' => 84,
'cf' => 36,
'tf' => 24,
'visibility_index' => 88,
'accepted_topic' => 'qui',
'not_accepted_topic' => 'et',
'fields' => 'rem',
'country' => 'atque',
'language' => 'ut',
'observation' => 'et',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/platform-metrics/incidunt'
payload = {
"price": 13,
"dr": 84,
"cf": 36,
"tf": 24,
"visibility_index": 88,
"accepted_topic": "qui",
"not_accepted_topic": "et",
"fields": "rem",
"country": "atque",
"language": "ut",
"observation": "et"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update metrics platform
requires authentication
This endpoint allows update metrics platform
Example request:
curl --request PUT \
"https://dev-api-media-content.appyweb.es/api/v1/platform-metrics/atque/websites/velit" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"price\": 34,
\"dr\": 50,
\"cf\": 43,
\"tf\": 79,
\"visibility_index\": 2,
\"accepted_topic\": \"autem\",
\"not_accepted_topic\": \"nisi\",
\"fields\": \"necessitatibus\",
\"country\": \"tempora\",
\"language\": \"quisquam\",
\"observation\": \"aliquam\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/platform-metrics/atque/websites/velit"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"price": 34,
"dr": 50,
"cf": 43,
"tf": 79,
"visibility_index": 2,
"accepted_topic": "autem",
"not_accepted_topic": "nisi",
"fields": "necessitatibus",
"country": "tempora",
"language": "quisquam",
"observation": "aliquam"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/platform-metrics/atque/websites/velit';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'price' => 34,
'dr' => 50,
'cf' => 43,
'tf' => 79,
'visibility_index' => 2,
'accepted_topic' => 'autem',
'not_accepted_topic' => 'nisi',
'fields' => 'necessitatibus',
'country' => 'tempora',
'language' => 'quisquam',
'observation' => 'aliquam',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/platform-metrics/atque/websites/velit'
payload = {
"price": 34,
"dr": 50,
"cf": 43,
"tf": 79,
"visibility_index": 2,
"accepted_topic": "autem",
"not_accepted_topic": "nisi",
"fields": "necessitatibus",
"country": "tempora",
"language": "quisquam",
"observation": "aliquam"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Example response (201):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Comparator website of platforms
requires authentication
This endpoint retrieve comparator website platforms
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/platform-metrics/websites/comparator" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"websites\": [
\"mufjxpozrjbkkwmwiqdpcodcwrznjlsinknjtqterrnqcdveeviclxvtnoiucdkqhxqrkqfxpwz\"
]
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/platform-metrics/websites/comparator"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"websites": [
"mufjxpozrjbkkwmwiqdpcodcwrznjlsinknjtqterrnqcdveeviclxvtnoiucdkqhxqrkqfxpwz"
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/platform-metrics/websites/comparator';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'websites' => [
'mufjxpozrjbkkwmwiqdpcodcwrznjlsinknjtqterrnqcdveeviclxvtnoiucdkqhxqrkqfxpwz',
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/platform-metrics/websites/comparator'
payload = {
"websites": [
"mufjxpozrjbkkwmwiqdpcodcwrznjlsinknjtqterrnqcdveeviclxvtnoiucdkqhxqrkqfxpwz"
]
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Role management
Assign permissions to role
requires authentication
This endpoint assign permissions to role
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/roles/assign-permissions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"role\": \"consequatur\",
\"permissions\": [
\"sed\"
]
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/roles/assign-permissions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"role": "consequatur",
"permissions": [
"sed"
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/roles/assign-permissions';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'role' => 'consequatur',
'permissions' => [
'sed',
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/roles/assign-permissions'
payload = {
"role": "consequatur",
"permissions": [
"sed"
]
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Revoke permissions to role
requires authentication
This endpoint revoke permissions to role
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/roles/revoke-permissions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"role\": \"aut\",
\"permissions\": [
\"ea\"
]
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/roles/revoke-permissions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"role": "aut",
"permissions": [
"ea"
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/roles/revoke-permissions';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'role' => 'aut',
'permissions' => [
'ea',
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/roles/revoke-permissions'
payload = {
"role": "aut",
"permissions": [
"ea"
]
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Retrieve list roles
requires authentication
This endpoint list roles
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/roles" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/roles"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/roles';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/roles'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a new role
requires authentication
This endpoint allows create a new role
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/roles" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"laboriosam\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/roles"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "laboriosam"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/roles';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'laboriosam',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/roles'
payload = {
"name": "laboriosam"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Example response (201):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Retrieve data role
requires authentication
This endpoint allows get show role
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/roles/porro" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/roles/porro"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/roles/porro';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/roles/porro'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update role
requires authentication
This endpoint allow update role
Example request:
curl --request PUT \
"https://dev-api-media-content.appyweb.es/api/v1/roles/voluptates" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"quia\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/roles/voluptates"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "quia"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/roles/voluptates';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'quia',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/roles/voluptates'
payload = {
"name": "quia"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete role
requires authentication
This endpoint allow delete role
Example request:
curl --request DELETE \
"https://dev-api-media-content.appyweb.es/api/v1/roles/corporis" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/roles/corporis"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/roles/corporis';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/roles/corporis'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Retrieve list permission
requires authentication
This endpoint list permission
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/permissions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/permissions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/permissions';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/permissions'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a new permission
requires authentication
This endpoint allows create a new permission
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/permissions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"ecncjhpdeqtrlehmmbswymnbwhtjiidypidkvvewpgozgdlesbjsmotfoyfkbsvang\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/permissions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "ecncjhpdeqtrlehmmbswymnbwhtjiidypidkvvewpgozgdlesbjsmotfoyfkbsvang"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/permissions';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'ecncjhpdeqtrlehmmbswymnbwhtjiidypidkvvewpgozgdlesbjsmotfoyfkbsvang',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/permissions'
payload = {
"name": "ecncjhpdeqtrlehmmbswymnbwhtjiidypidkvvewpgozgdlesbjsmotfoyfkbsvang"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Example response (201):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Retrieve data permission
requires authentication
This endpoint allows get show permission
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/permissions/minima" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/permissions/minima"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/permissions/minima';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/permissions/minima'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update permission
requires authentication
This endpoint allow update permission
Example request:
curl --request PUT \
"https://dev-api-media-content.appyweb.es/api/v1/permissions/maiores" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"ahcutnhvtfcgubmlbhzvjxbwwfdqylroooxjwhyagwl\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/permissions/maiores"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "ahcutnhvtfcgubmlbhzvjxbwwfdqylroooxjwhyagwl"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/permissions/maiores';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'ahcutnhvtfcgubmlbhzvjxbwwfdqylroooxjwhyagwl',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/permissions/maiores'
payload = {
"name": "ahcutnhvtfcgubmlbhzvjxbwwfdqylroooxjwhyagwl"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete permission
requires authentication
This endpoint allow delete permission
Example request:
curl --request DELETE \
"https://dev-api-media-content.appyweb.es/api/v1/permissions/quod" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/permissions/quod"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/permissions/quod';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/permissions/quod'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Search operators management
APIs for managing Search operators
Retrieve list search operators
This endpoint list search operators
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/search-operators" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page\": 11,
\"per_page\": 7,
\"order_by\": \"voluptas\",
\"sort_by\": \"provident\",
\"filter\": \"qui\",
\"value\": \"quia\",
\"locale\": \"en_AU\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/search-operators"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page": 11,
"per_page": 7,
"order_by": "voluptas",
"sort_by": "provident",
"filter": "qui",
"value": "quia",
"locale": "en_AU"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/search-operators';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'page' => 11,
'per_page' => 7,
'order_by' => 'voluptas',
'sort_by' => 'provident',
'filter' => 'qui',
'value' => 'quia',
'locale' => 'en_AU',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/search-operators'
payload = {
"page": 11,
"per_page": 7,
"order_by": "voluptas",
"sort_by": "provident",
"filter": "qui",
"value": "quia",
"locale": "en_AU"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Search web management
APIs for managing result search webs
Retrieve search web oureachs
This endpoint search web oureachs
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/outreachs/et/search" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/outreachs/et/search"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs/et/search';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs/et/search'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Retrieve csv file search web oureachs
This endpoint return csv search web oureachs
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/outreachs/est/search/export-csv" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/outreachs/est/search/export-csv"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs/est/search/export-csv';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs/est/search/export-csv'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Retrieve list search webs
This endpoint list search webs
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/outreachs/laudantium/search/list" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page\": 2,
\"per_page\": 16,
\"order_by\": \"laborum\",
\"sort_by\": \"harum\",
\"filter\": \"consectetur\",
\"value\": \"at\",
\"locale\": \"uz_AF\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/outreachs/laudantium/search/list"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page": 2,
"per_page": 16,
"order_by": "laborum",
"sort_by": "harum",
"filter": "consectetur",
"value": "at",
"locale": "uz_AF"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs/laudantium/search/list';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'page' => 2,
'per_page' => 16,
'order_by' => 'laborum',
'sort_by' => 'harum',
'filter' => 'consectetur',
'value' => 'at',
'locale' => 'uz_AF',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs/laudantium/search/list'
payload = {
"page": 2,
"per_page": 16,
"order_by": "laborum",
"sort_by": "harum",
"filter": "consectetur",
"value": "at",
"locale": "uz_AF"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a search web
requires authentication
This endpoint allow delete a search web
Example request:
curl --request DELETE \
"https://dev-api-media-content.appyweb.es/api/v1/outreachs/search-web/in" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/outreachs/search-web/in"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs/search-web/in';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/outreachs/search-web/in'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Tld management
APIs for managing tld
Retrieve list type website
This endpoint list type website
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/tlds" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page\": 8,
\"per_page\": 3,
\"order_by\": \"desc\",
\"sort_by\": \"aut\",
\"filter\": \"nemo\",
\"value\": \"ea\",
\"locale\": \"fa_IR\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/tlds"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page": 8,
"per_page": 3,
"order_by": "desc",
"sort_by": "aut",
"filter": "nemo",
"value": "ea",
"locale": "fa_IR"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/tlds';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'page' => 8,
'per_page' => 3,
'order_by' => 'desc',
'sort_by' => 'aut',
'filter' => 'nemo',
'value' => 'ea',
'locale' => 'fa_IR',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/tlds'
payload = {
"page": 8,
"per_page": 3,
"order_by": "desc",
"sort_by": "aut",
"filter": "nemo",
"value": "ea",
"locale": "fa_IR"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Type website management
APIs for managing type website
Retrieve list type website
This endpoint list type website
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/type-websites" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"locale\": \"aa_DJ\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/type-websites"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"locale": "aa_DJ"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/type-websites';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'locale' => 'aa_DJ',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/type-websites'
payload = {
"locale": "aa_DJ"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
User management
APIs for managing resources user
Register a new user
This endpoint register a new user
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/register" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"nkhtnyabtyoahwmxotdafmfcwpsjsauzqdqkwqwqotqsecyjgyjthshcoaifnmldweggopacuaverxfslty\",
\"username\": \"mumzjowezoslfhmbqapwuhqzspodo\",
\"email\": \"[email protected]\",
\"password\": \"et\",
\"role\": \"ut\",
\"password_confirmation\": \"et\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/register"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "nkhtnyabtyoahwmxotdafmfcwpsjsauzqdqkwqwqotqsecyjgyjthshcoaifnmldweggopacuaverxfslty",
"username": "mumzjowezoslfhmbqapwuhqzspodo",
"email": "[email protected]",
"password": "et",
"role": "ut",
"password_confirmation": "et"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/register';
$response = $client->post(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'nkhtnyabtyoahwmxotdafmfcwpsjsauzqdqkwqwqotqsecyjgyjthshcoaifnmldweggopacuaverxfslty',
'username' => 'mumzjowezoslfhmbqapwuhqzspodo',
'email' => '[email protected]',
'password' => 'et',
'role' => 'ut',
'password_confirmation' => 'et',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/register'
payload = {
"name": "nkhtnyabtyoahwmxotdafmfcwpsjsauzqdqkwqwqotqsecyjgyjthshcoaifnmldweggopacuaverxfslty",
"username": "mumzjowezoslfhmbqapwuhqzspodo",
"email": "[email protected]",
"password": "et",
"role": "ut",
"password_confirmation": "et"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Example response (201):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Retrieve data profile user
requires authentication
This endpoint allows get profile authenticate user
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/profile" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/profile"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/profile';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/profile'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update user
requires authentication
This endpoint allow update user
Field id is optional, without id update data profile user
Example request:
curl --request PUT \
"https://dev-api-media-content.appyweb.es/api/v1/users" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"qpsqjyzfmohffucavkyhgszdjqddrpajooxeivjkdtinorugldqhio\",
\"role\": \"accusamus\",
\"password_confirmation\": \"rerum\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/users"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "qpsqjyzfmohffucavkyhgszdjqddrpajooxeivjkdtinorugldqhio",
"role": "accusamus",
"password_confirmation": "rerum"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/users';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'qpsqjyzfmohffucavkyhgszdjqddrpajooxeivjkdtinorugldqhio',
'role' => 'accusamus',
'password_confirmation' => 'rerum',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/users'
payload = {
"name": "qpsqjyzfmohffucavkyhgszdjqddrpajooxeivjkdtinorugldqhio",
"role": "accusamus",
"password_confirmation": "rerum"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Retrieve list users
requires authentication
This endpoint list users
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/users" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/users"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/users';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/users'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a new user
requires authentication
This endpoint allows create a new user from dashboard
Example request:
curl --request POST \
"https://dev-api-media-content.appyweb.es/api/v1/users" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"dlxcwzjefrnbrmymnyinvsrlsdgopstfzvjbpygiibakjftiuiujxmbcxpomycvcisunojsdfsidmk\",
\"username\": \"hohbyaursqtisguruajfmfkqhsjlszlmvckmkrvxgixjcpxuujihnypxxmmguxri\",
\"email\": \"[email protected]\",
\"password\": \"vi+U5)0&2!q+y5e]Q1i%\",
\"role\": \"quod\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/users"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "dlxcwzjefrnbrmymnyinvsrlsdgopstfzvjbpygiibakjftiuiujxmbcxpomycvcisunojsdfsidmk",
"username": "hohbyaursqtisguruajfmfkqhsjlszlmvckmkrvxgixjcpxuujihnypxxmmguxri",
"email": "[email protected]",
"password": "vi+U5)0&2!q+y5e]Q1i%",
"role": "quod"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/users';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'dlxcwzjefrnbrmymnyinvsrlsdgopstfzvjbpygiibakjftiuiujxmbcxpomycvcisunojsdfsidmk',
'username' => 'hohbyaursqtisguruajfmfkqhsjlszlmvckmkrvxgixjcpxuujihnypxxmmguxri',
'email' => '[email protected]',
'password' => 'vi+U5)0&2!q+y5e]Q1i%',
'role' => 'quod',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/users'
payload = {
"name": "dlxcwzjefrnbrmymnyinvsrlsdgopstfzvjbpygiibakjftiuiujxmbcxpomycvcisunojsdfsidmk",
"username": "hohbyaursqtisguruajfmfkqhsjlszlmvckmkrvxgixjcpxuujihnypxxmmguxri",
"email": "[email protected]",
"password": "vi+U5)0&2!q+y5e]Q1i%",
"role": "quod"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Example response (201):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show user
requires authentication
Example request:
curl --request GET \
--get "https://dev-api-media-content.appyweb.es/api/v1/users/officia" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/users/officia"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/users/officia';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/users/officia'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update user
requires authentication
This endpoint allow update user
Field id is optional, without id update data profile user
Example request:
curl --request PUT \
"https://dev-api-media-content.appyweb.es/api/v1/users/maxime" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"ajrpacvjuijrhxixzmh\",
\"role\": \"eos\",
\"password_confirmation\": \"cupiditate\"
}"
const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/users/maxime"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "ajrpacvjuijrhxixzmh",
"role": "eos",
"password_confirmation": "cupiditate"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/users/maxime';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'ajrpacvjuijrhxixzmh',
'role' => 'eos',
'password_confirmation' => 'cupiditate',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/users/maxime'
payload = {
"name": "ajrpacvjuijrhxixzmh",
"role": "eos",
"password_confirmation": "cupiditate"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Example response (200):
{
"success": true,
"message": "Message success",
"data": "object"
}
Example response (401):
{
"message": "Unauthenticated"
}
Example response (422):
{
"message": "Message errors",
"errors": {
"field1": [
"messagge error"
],
"field2": [
"messagge error"
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete user
requires authentication
Example request:
curl --request DELETE \
"https://dev-api-media-content.appyweb.es/api/v1/users/quia" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev-api-media-content.appyweb.es/api/v1/users/quia"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'https://dev-api-media-content.appyweb.es/api/v1/users/quia';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'https://dev-api-media-content.appyweb.es/api/v1/users/quia'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_KEY}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.