Debug-Information

With the following commands you can test the configuration of you API solution.

Check Id-Integrity and other Debug information

You can ask the following URL to get a JSON list of all recordings:

http://api.edudip.com/api2.php?action=getDebugInfo

Parameter
Parameter Type Description
api-Key string The api key of your api solution
Result
Parameter Type Description
success bool

Wheather the request was succed.

Events Array(Event-Object)

Array of all stored events. The object is described below.

Users Array(User-Object)

Array of all stored users. The object is described below.

Event-Object
Parameter Type Description
Id int

Unique Events Id

Associated_EventSeries Array(EventsSeries-Object)

Array of all stored EventsSeries. The object is described below.

EventsSeries-Object
Parameter Type Description
Id int

Unique EventsSeries Id

Associated_Rooms Array(Rooms-Object)

Array of all stored Roomes. The object is described below.

Rooms-Object
Parameter Type Description
Id int

Unique Room Id

StartingTime Date

StartingTime of the Room.

Duration int

Duration of the Room.

EndTime Date

EndTime of the Room (calculated from StartingTime and Duration).

Users-Object
Parameter Type Description
Id int

Unique EventsSeries Id

Example
$url = 'http://api.edudip.com/api2.php';
 
$dataToSend = array(
	'api-Key' => 'EDUDIP_API_KEY',
	'action' => 'getDebugInfo'
);
 
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $dataToSend);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$res = curl_exec($ch);
curl_close($ch);
 
echo $res;

Durch die weitere Nutzung der Seite stimmst du der Verwendung von Cookies zu. Weitere Informationen

Die Cookie-Einstellungen auf dieser Website sind auf "Cookies zulassen" eingestellt, um das beste Surferlebnis zu ermöglichen. Wenn du diese Website ohne Änderung der Cookie-Einstellungen verwendest oder auf "Akzeptieren" klickst, erklärst du sich damit einverstanden.

Schließen