AOPS API
Základní dotazování na content api servírované přes AOPS.
Endpoints
Přístup k projektu
Headers
Name
Type
Description
{
// Response
}GET /api/your_project_id HTTP/1.1a
Host: aops.cz
Accept: application/json
Authorization: Bearer your_access_token<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://aops.cz/api/your_project_id',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Accept: application/json',
'Authorization: Bearer your_access_token'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;Get Entries
Headers
Name
Type
Description
Get One Entry
Headers
Name
Type
Description
Get Project Media
Headers
Name
Type
Description
Příklady
Parameters
Where Clauses
Příklad
Single Where Clause
Get the first result
like operator
not operator
in and not_in operators
lt and lte operators
gt and gte operators
null and not_null operators
between and not_between operators
Combining where clauses
OR
Last updated