MENU navbar-image

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

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"
        ]
    }
}
 

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"
}
 

Request      

POST api/v1/forgot-password

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

El campo value debe ser una dirección de correo válida. Example: [email protected]

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"
}
 

Request      

POST api/v1/reset-password

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

El campo value debe ser una dirección de correo válida. Example: [email protected]

token   string   

Example: et

password   string   

Example: id

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"
        ]
    }
}
 

Request      

POST api/v1/login

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

El campo value debe ser una dirección de correo válida. Example: [email protected]

password   string   

Example: perspiciatis

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"
}
 

Request      

GET api/v1/email/verify/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the verify. Example: cum

Body Parameters

expire   string   

Example: optio

hash   string   

Example: soluta

signature   string   

Example: eum

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"
}
 

Request      

GET api/v1/email/resend

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

El campo value debe ser una dirección de correo válida. The email of an existing record in the users table. Example: [email protected]

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"
}
 

Request      

POST api/v1/logout

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

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"
}
 

Request      

GET api/v1/categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

page   integer  optional  

Example: 2

perPage   integer  optional  

Example: 3

is_accepted   boolean  optional  

Example: false

locale   The  optional  

locale allowed values 'es', 'en', 'fr', 'it', 'pt', 'de'. Example: ur_PK

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"
}
 

Request      

GET api/v1/coins

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

locale   The  optional  

locale allowed values 'es', 'en', 'fr', 'it', 'pt', 'de'. Example: ve_ZA

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"
}
 

Request      

GET api/v1/countries

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

page   integer  optional  

Example: 2

perPage   integer  optional  

Example: 11

order_by   string  optional  

Example: asc

Must be one of:
  • asc
  • desc
sort_by   string  optional  

This field is required when order_by is asc or desc. Example: aut

locale   The  optional  

locale allowed values 'es', 'en', 'fr', 'it', 'pt', 'de'. Example: kk_KZ

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"
        ]
    }
}
 

Request      

GET api/v1/outreachs/search-web/information-type/{code}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

code   string   

Example: ducimus

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"
        ]
    }
}
 

Request      

POST api/v1/outreachs/search-web/information-web

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

value   string   

Example: perferendis

information_type_id   integer   

The id of an existing record in the information_types table. Example: 2

search_web_id   integer   

The id of an existing record in the search_webs table. Example: 14

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"
        ]
    }
}
 

Request      

DELETE api/v1/outreachs/search-web/{search_id}/information-web/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

search_id   string   

The ID of the search. Example: fugit

id   string   

The ID of the information web. Example: ipsam

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"
}
 

Request      

GET api/v1/languages

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

page   integer  optional  

Example: 10

perPage   integer  optional  

Example: 5

order_by   string  optional  

Example: asc

Must be one of:
  • asc
  • desc
sort_by   string  optional  

This field is required when order_by is asc or desc. Example: minus

filter   string  optional  

Example: illum

value   string  optional  

This field is required when filter is present. Example: est

locale   The  optional  

locale allowed values 'es', 'en', 'fr', 'it', 'pt', 'de'. Example: ee_TG

Link Types management

APIs for managing 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"
}
 

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"
        ]
    }
}
 

Request      

POST api/v1/means-form

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

domain   string   

Example: sapiente

email   string   

El campo value debe ser una dirección de correo válida. Example: [email protected]

additional_email   string  optional  

El campo value debe ser una dirección de correo válida. Example: [email protected]

contact_person   string   

El campo value debe contener al menos 3 caracteres. Example: agcjbclsi

price   number   

Example: 3170.0763017

price_appyweb   number   

Example: 16385384.336

maximun_link   integer   

Example: 11

coin_id   integer   

The id of an existing record in the coins table. Example: 2

link_type_id   integer   

The id of an existing record in the link_types table. Example: 11

language_id   integer   

The id of an existing record in the languages table. Example: 18

categories   integer[]  optional  

The id of an existing record in the categories table.

categories_not_accepted   integer[]  optional  

The id of an existing record in the categories table.

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"
        ]
    }
}
 

Request      

POST api/v1/means-send-excel

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

file   file   

Must be a file. Example: /tmp/phpSZk9Ib

locale   The  optional  

locale allowed values 'es', 'en', 'fr', 'it', 'pt', 'de'. Example: so_KE

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"
        ]
    }
}
 

Request      

POST api/v1/means-import

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

file   file   

Must be a file. Example: /tmp/phpVWaZGx

locale   The  optional  

locale allowed values 'es', 'en', 'fr', 'it', 'pt', 'de'. Example: en_BW

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"
}
 

Request      

GET api/v1/means

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

page   integer  optional  

Example: 10

per_page   integer  optional  

Example: 11

order_by   string  optional  

Example: desc

Must be one of:
  • asc
  • desc
sort_by   string  optional  

This field is required when order_by is asc or desc. Example: eos

filter   string  optional  

Example: error

value   string  optional  

This field is required when filter is present. Example: dolores

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"
        ]
    }
}
 

Request      

POST api/v1/means

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

domain   string   

Example: sed

email   string   

El campo value debe ser una dirección de correo válida. Example: [email protected]

additional_email   string  optional  

El campo value debe ser una dirección de correo válida. Example: [email protected]

contact_person   string   

El campo value debe contener al menos 3 caracteres. Example: rgmrmobcpmvlmridaztrfdzqjbbhulaihipcvxbkpzvhqvpwdu

price   number   

Example: 2390.582040385

price_appyweb   number   

Example: 1.2

maximun_link   integer   

Example: 16

coin_id   integer   

The id of an existing record in the coins table. Example: 9

link_type_id   integer   

The id of an existing record in the link_types table. Example: 20

type_website_id   integer  optional  

The id of an existing record in the type_websites table. Example: 6

language_id   integer   

The id of an existing record in the languages table. Example: 20

categories   integer[]  optional  

The id of an existing record in the categories table.

categories_not_accepted   integer[]  optional  

The id of an existing record in the categories table.

observations   string  optional  

El campo value debe contener al menos 2 caracteres. Example: uxkevvnckzzzgayszeggflordugovpetupggrnlanhaikmkxdbouhfsxcrzmfxqqvylkw

description   string  optional  

El campo value debe contener al menos 2 caracteres. Example: Sint debitis sunt praesentium sunt ab eaque voluptatem eius.

social_sharing   boolean  optional  

Example: false

social_sharing_extra_cost   boolean  optional  

Example: true

social_sharing_extra_cost_value   number  optional  

Example: 2.0224834

home_links   boolean  optional  

Example: false

home_links_extra_cost   boolean  optional  

Example: false

home_links_extra_cost_value   number  optional  

Example: 157.692729

write_text   boolean  optional  

Example: true

write_text_extra_cost   boolean  optional  

Example: true

write_text_extra_cost_value   number  optional  

Example: 23824358.72

newsletter   boolean  optional  

Example: true

newsletter_extra_cost   boolean  optional  

Example: true

newsletter_extra_cost_value   number  optional  

Example: 0.6100515

audience_country_id   integer  optional  

The id of an existing record in the countries table. Example: 12

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"
        ]
    }
}
 

Request      

GET api/v1/means/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the mean. Example: inventore

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"
        ]
    }
}
 

Request      

PUT api/v1/means/{id}

PATCH api/v1/means/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the mean. Example: soluta

Body Parameters

domain   string  optional  
email   string  optional  

El campo value debe ser una dirección de correo válida. Example: [email protected]

additional_email   string  optional  

El campo value debe ser una dirección de correo válida. Example: [email protected]

contact_person   string  optional  

El campo value debe contener al menos 3 caracteres. Example: vbqewrsgpnvrqddzjselkmmauqsaztgsagrbfmdbafug

price   number  optional  

Example: 200924.39

price_appyweb   number  optional  

Example: 3308.93751599

maximun_link   integer  optional  

Example: 13

coin_id   integer  optional  

The id of an existing record in the coins table. Example: 2

link_type_id   integer  optional  

The id of an existing record in the link_types table. Example: 17

type_website_id   integer  optional  

The id of an existing record in the type_websites table. Example: 1

language_id   integer  optional  

The id of an existing record in the languages table. Example: 3

categories   integer[]  optional  

The id of an existing record in the categories table.

categories_not_accepted   integer[]  optional  

The id of an existing record in the categories table.

observations   string  optional  

El campo value debe contener al menos 2 caracteres. Example: oslcogepimxamlepiyhjlqoywlksunkezxenunlcyotsobrljlgxqbs

description   string  optional  

El campo value debe contener al menos 2 caracteres. Example: Eum tenetur debitis quae quo et qui.

social_sharing   boolean  optional  

Example: false

social_sharing_extra_cost   boolean  optional  

Example: false

social_sharing_extra_cost_value   number  optional  

Example: 44960.218

home_links   boolean  optional  

Example: false

home_links_extra_cost   boolean  optional  

Example: false

home_links_extra_cost_value   number  optional  

Example: 1.029

write_text   boolean  optional  

Example: true

write_text_extra_cost   boolean  optional  

Example: true

write_text_extra_cost_value   number  optional  

Example: 612.7825496

newsletter   boolean  optional  

Example: true

newsletter_extra_cost   boolean  optional  

Example: false

newsletter_extra_cost_value   number  optional  

Example: 350

audience_country_id   integer  optional  

The id of an existing record in the countries table. Example: 7

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"
        ]
    }
}
 

Request      

DELETE api/v1/means/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the mean. Example: qui

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"
}
 

Request      

GET api/v1/means/list/filtered

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

page   integer   

Example: 15

per_page   integer   

Example: 2

domain   string  optional  

Example: qui

categories   integer[]  optional  

The id of an existing record in the categories table.

categories_not_accepted   integer[]  optional  

The id of an existing record in the categories table.

audience_country_id   integer  optional  

The id of an existing record in the countries table. Example: 8

language_id   integer  optional  

The id of an existing record in the languages table. Example: 4

maximun_link   integer  optional  

Example: 5

link_type_id   integer  optional  

The id of an existing record in the link_types table. Example: 9

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"
}
 

Request      

GET api/v1/outreachs

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

page   integer   

Example: 14

per_page   integer   

Example: 12

order_by   string  optional  

Example: desc

Must be one of:
  • asc
  • desc
sort_by   string  optional  

This field is required when order_by is asc or desc. Example: vel

filter   string  optional  

Example: ab

value   string  optional  

This field is required when filter is present. Example: distinctio

locale   The  optional  

locale allowed values 'es', 'en', 'fr', 'it', 'pt', 'de'. Example: zh_CN

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"
        ]
    }
}
 

Request      

POST api/v1/outreachs

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: maiores

description   string  optional  

Example: Nihil necessitatibus alias dolorum dignissimos explicabo et.

keywords   string  optional  

Example: sint

total_records   integer  optional  

El campo value debe ser al menos 0. Example: 87

language_id   integer  optional  

The id of an existing record in the languages table. Example: 10

country_id   integer  optional  

The id of an existing record in the countries table. Example: 4

categories   integer[]  optional  

The id of an existing record in the categories table.

tlds   integer[]  optional  

The id of an existing record in the tlds table.

search_operators   integer[]  optional  

The id of an existing record in the search_operators table.

domains   string[]  optional  
type   string   

Example: keyword

Must be one of:
  • keyword
  • domain

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"
        ]
    }
}
 

Request      

GET api/v1/outreachs/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the outreach. Example: rerum

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"
        ]
    }
}
 

Request      

PUT api/v1/outreachs/{id}

PATCH api/v1/outreachs/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the outreach. Example: illo

Body Parameters

name   string  optional  

Example: earum

description   string  optional  

Example: Pariatur quod molestiae et temporibus non sit ut occaecati.

keywords   string  optional  

Example: est

total_records   integer  optional  

El campo value debe ser al menos 1. Example: 25

language_id   integer  optional  

The id of an existing record in the languages table. Example: 20

country_id   integer  optional  

The id of an existing record in the countries table. Example: 2

categories   integer[]  optional  

The id of an existing record in the categories table.

tlds   integer[]  optional  

The id of an existing record in the tlds table.

search_operators   integer[]  optional  

The id of an existing record in the search_operators table.

domains   string[]  optional  
type   string   

Example: keyword

Must be one of:
  • keyword
  • domain

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"
        ]
    }
}
 

Request      

DELETE api/v1/outreachs/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the outreach. Example: error

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"
}
 

Request      

GET api/v1/excluded-domains

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

page   integer   

Example: 5

per_page   integer   

Example: 19

locale   The  optional  

locale allowed values 'es', 'en', 'fr', 'it', 'pt', 'de'. Example: om_KE

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"
        ]
    }
}
 

Request      

POST api/v1/excluded-domains

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

domain   string   

Example: reiciendis

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"
        ]
    }
}
 

Request      

GET api/v1/excluded-domains/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the excluded domain. Example: corrupti

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"
        ]
    }
}
 

Request      

PUT api/v1/excluded-domains/{id}

PATCH api/v1/excluded-domains/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the excluded domain. Example: atque

Body Parameters

domain   string   

Example: quasi

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"
        ]
    }
}
 

Request      

DELETE api/v1/excluded-domains/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the excluded domain. Example: deserunt

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"
}
 

Request      

GET api/v1/platforms

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

page   integer  optional  

Example: 19

per_page   integer  optional  

Example: 6

order_by   string  optional  

Example: asc

Must be one of:
  • asc
  • desc
sort_by   string  optional  

This field is required when order_by is asc or desc. Example: est

filter   string  optional  

Example: sunt

value   string  optional  

This field is required when filter is present. Example: nesciunt

locale   The  optional  

locale allowed values 'es', 'en', 'fr', 'it', 'pt', 'de'. Example: aa_DJ

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"
        ]
    }
}
 

Request      

POST api/v1/platforms

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: et

is_active   boolean  optional  

Example: true

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"
        ]
    }
}
 

Request      

GET api/v1/platforms/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the platform. Example: eos

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"
        ]
    }
}
 

Request      

PUT api/v1/platforms/{id}

PATCH api/v1/platforms/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the platform. Example: vel

Body Parameters

name   string  optional  

Example: omnis

is_active   boolean  optional  

Example: true

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"
        ]
    }
}
 

Request      

DELETE api/v1/platforms/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the platform. Example: eos

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"
}
 

Request      

GET api/v1/platform-metrics

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

per_page   integer   

El campo value debe ser al menos 1. Example: 50

page   integer  optional  

This field is required when per_page is present. Example: 20

platform   string  optional  

The code of an existing record in the platforms table.

website   string  optional  

Example: aut

dr_min   integer  optional  

Example: 12

dr_max   integer  optional  

This field is required when dr_min is present. Example: 17

cf_min   integer  optional  

Example: 8

cf_max   integer  optional  

This field is required when cf_min is present. Example: 14

tf_min   integer  optional  

Example: 6

tf_max   integer  optional  

This field is required when tf_min is present. Example: 5

visibility_index_min   integer  optional  

Example: 1

visibility_index_max   integer  optional  

This field is required when visibility_index_min is present. Example: 17

keywords_min   integer  optional  

Example: 16

keywords_max   integer  optional  

This field is required when keywords_min is present. Example: 16

locale   The  optional  

locale allowed values 'es', 'en', 'fr', 'it', 'pt', 'de'. Example: fur_IT

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"
        ]
    }
}
 

Request      

POST api/v1/platform-metrics

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

row   object[]   
website   string   

Example: eligendi

platform   string   

The code of an existing record in the platforms table. Example: ipsa

price   number   

El campo value debe ser al menos 0. Example: 32

dr   integer  optional  

El campo value debe ser al menos 0. Example: 41

cf   integer  optional  

El campo value debe ser al menos 0. Example: 19

tf   integer  optional  

El campo value debe ser al menos 0. Example: 62

visibility_index   integer  optional  

El campo value debe ser al menos 0. Example: 77

accepted_topic   string  optional  

Example: sit

not_accepted_topic   string  optional  

Example: iusto

payload   object   
fields   string  optional  

Example: praesentium

country   string  optional  

The iso2 of an existing record in the countries table. Example: vero

language   string  optional  

Example: eos

observation   string  optional  

Example: voluptas

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"
        ]
    }
}
 

Request      

GET api/v1/platform-metrics/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the platform metric. Example: facilis

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"
        ]
    }
}
 

Request      

PUT api/v1/platform-metrics/{id}

PATCH api/v1/platform-metrics/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the platform metric. Example: incidunt

Body Parameters

price   number  optional  

El campo value debe ser al menos 0. Example: 13

dr   integer  optional  

El campo value debe ser al menos 0. Example: 84

cf   integer  optional  

El campo value debe ser al menos 0. Example: 36

tf   integer  optional  

El campo value debe ser al menos 0. Example: 24

visibility_index   integer  optional  

El campo value debe ser al menos 0. Example: 88

accepted_topic   string  optional  

Example: qui

not_accepted_topic   string  optional  

Example: et

payload   object  optional  
fields   string  optional  

Example: rem

country   string  optional  

The iso2 of an existing record in the countries table. Example: atque

language   string  optional  

Example: ut

observation   string  optional  

Example: et

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"
        ]
    }
}
 

Request      

PUT api/v1/platform-metrics/{platform}/websites/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

platform   string   

Example: atque

id   string   

The ID of the website. Example: velit

Body Parameters

price   number  optional  

El campo value debe ser al menos 0. Example: 34

dr   integer  optional  

El campo value debe ser al menos 0. Example: 50

cf   integer  optional  

El campo value debe ser al menos 0. Example: 43

tf   integer  optional  

El campo value debe ser al menos 0. Example: 79

visibility_index   integer  optional  

El campo value debe ser al menos 0. Example: 2

accepted_topic   string  optional  

Example: autem

not_accepted_topic   string  optional  

Example: nisi

payload   object  optional  
fields   string  optional  

Example: necessitatibus

country   string  optional  

The iso2 of an existing record in the countries table. Example: tempora

language   string  optional  

Example: quisquam

observation   string  optional  

Example: aliquam

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"
        ]
    }
}
 

Request      

POST api/v1/platform-metrics/websites/comparator

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

websites   string[]   

El campo value debe contener al menos 2 caracteres.

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"
        ]
    }
}
 

Request      

POST api/v1/roles/assign-permissions

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

role   string   

The name of an existing record in the roles table. Example: consequatur

permissions   string[]   

The name of an existing record in the permissions table.

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"
        ]
    }
}
 

Request      

POST api/v1/roles/revoke-permissions

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

role   string   

The name of an existing record in the roles table. Example: aut

permissions   string[]   

The name of an existing record in the permissions table.

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"
}
 

Request      

GET api/v1/roles

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

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"
        ]
    }
}
 

Request      

POST api/v1/roles

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: laboriosam

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"
}
 

Request      

GET api/v1/roles/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the role. Example: porro

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"
        ]
    }
}
 

Request      

PUT api/v1/roles/{id}

PATCH api/v1/roles/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the role. Example: voluptates

Body Parameters

name   string   

Example: quia

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"
        ]
    }
}
 

Request      

DELETE api/v1/roles/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the role. Example: corporis

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"
}
 

Request      

GET api/v1/permissions

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

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"
        ]
    }
}
 

Request      

POST api/v1/permissions

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

El campo value debe contener al menos 2 caracteres. Example: ecncjhpdeqtrlehmmbswymnbwhtjiidypidkvvewpgozgdlesbjsmotfoyfkbsvang

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"
}
 

Request      

GET api/v1/permissions/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the permission. Example: minima

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"
        ]
    }
}
 

Request      

PUT api/v1/permissions/{id}

PATCH api/v1/permissions/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the permission. Example: maiores

Body Parameters

name   string   

El campo value debe contener al menos 2 caracteres. Example: ahcutnhvtfcgubmlbhzvjxbwwfdqylroooxjwhyagwl

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"
        ]
    }
}
 

Request      

DELETE api/v1/permissions/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the permission. Example: quod

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"
}
 

Request      

GET api/v1/search-operators

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

page   integer  optional  

Example: 11

per_page   integer  optional  

Example: 7

order_by   string  optional  

Example: voluptas

sort_by   string  optional  

This field is required when order_by is present. Example: provident

filter   string  optional  

Example: qui

value   string  optional  

This field is required when filter is present. Example: quia

locale   The  optional  

locale allowed values 'es', 'en', 'fr', 'it', 'pt', 'de'. Example: en_AU

Search web management

APIs for managing result search webs

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"
        ]
    }
}
 

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"
        ]
    }
}
 

Request      

GET api/v1/outreachs/{id}/search/export-csv

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the outreach. Example: est

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"
}
 

Request      

GET api/v1/outreachs/{id}/search/list

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the outreach. Example: laudantium

Body Parameters

page   integer   

Example: 2

per_page   integer   

Example: 16

order_by   string  optional  

Example: laborum

sort_by   string  optional  

This field is required when order_by is present. Example: harum

filter   string  optional  

Example: consectetur

value   string  optional  

This field is required when filter is present. Example: at

locale   The  optional  

locale allowed values 'es', 'en', 'fr', 'it', 'pt', 'de'. Example: uz_AF

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"
        ]
    }
}
 

Request      

DELETE api/v1/outreachs/search-web/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the search web. Example: in

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"
}
 

Request      

GET api/v1/tlds

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

page   integer  optional  

Example: 8

per_page   integer  optional  

Example: 3

order_by   string  optional  

Example: desc

Must be one of:
  • asc
  • desc
sort_by   string  optional  

This field is required when order_by is asc or desc. Example: aut

filter   string  optional  

Example: nemo

value   string  optional  

This field is required when filter is present. Example: ea

locale   The  optional  

locale allowed values 'es', 'en', 'fr', 'it', 'pt', 'de'. Example: fa_IR

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"
}
 

Request      

GET api/v1/type-websites

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

locale   The  optional  

locale allowed values 'es', 'en', 'fr', 'it', 'pt', 'de'. Example: aa_DJ

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"
        ]
    }
}
 

Request      

POST api/v1/register

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

El campo value debe contener al menos 2 caracteres. Example: nkhtnyabtyoahwmxotdafmfcwpsjsauzqdqkwqwqotqsecyjgyjthshcoaifnmldweggopacuaverxfslty

username   string   

El campo value debe contener al menos 2 caracteres. Example: mumzjowezoslfhmbqapwuhqzspodo

email   string   

El campo value debe ser una dirección de correo válida. Example: [email protected]

password   string   

Example: et

role   string  optional  

The name of an existing record in the roles table. Example: ut

password_confirmation   required  optional  

The password confirmation. Example: et

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"
}
 

Request      

GET api/v1/profile

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

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"
        ]
    }
}
 

Request      

PUT api/v1/users

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string  optional  

El campo value debe contener al menos 3 caracteres. Example: qpsqjyzfmohffucavkyhgszdjqddrpajooxeivjkdtinorugldqhio

username   string  optional  
password   string  optional  
role   string  optional  

The name of an existing record in the roles table. Example: accusamus

password_confirmation   string  optional  

The password confirmation. Example: rerum

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"
}
 

Request      

GET api/v1/users

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

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"
        ]
    }
}
 

Request      

POST api/v1/users

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

El campo value debe contener al menos 2 caracteres. Example: dlxcwzjefrnbrmymnyinvsrlsdgopstfzvjbpygiibakjftiuiujxmbcxpomycvcisunojsdfsidmk

username   string   

El campo value debe contener al menos 2 caracteres. Example: hohbyaursqtisguruajfmfkqhsjlszlmvckmkrvxgixjcpxuujihnypxxmmguxri

email   string   

El campo value debe ser una dirección de correo válida. Example: [email protected]

password   string  optional  

El campo value debe contener al menos 6 caracteres. Example: vi+U5)0&2!q+y5e]Q1i%

role   string  optional  

The name of an existing record in the roles table. Example: quod

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."
}
 

Request      

GET api/v1/users/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the user. Example: officia

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"
        ]
    }
}
 

Request      

PUT api/v1/users/{id}

PATCH api/v1/users/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the user. Example: maxime

Body Parameters

name   string  optional  

El campo value debe contener al menos 3 caracteres. Example: ajrpacvjuijrhxixzmh

username   string  optional  
password   string  optional  
role   string  optional  

The name of an existing record in the roles table. Example: eos

password_confirmation   string  optional  

The password confirmation. Example: cupiditate

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

Request      

DELETE api/v1/users/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the user. Example: quia