GET /api/reminder-tags
<?xml version="1.0" encoding="UTF-8"?> <reminder-tags type="array" page="1" per_page="100" total="2"> <reminder-tag> <id type="integer">1</id> <name>foo</name> <count type="integer">12</count> </reminder-tag> <reminder-tag> <id type="integer">1</id> <name>bar</name> <count type="integer">7</count> </reminder-tag> </reminder-tags>
GET /api/reminder-tags?reminder_id={reminder_id}
<?xml version="1.0" encoding="UTF-8"?> <reminder-tags type="array" page="1" per_page="100" total="2"> <reminder-tag> … </reminder-tag> <reminder-tag> … </reminder-tag> </reminder-tags>
GET /api/reminder-tags/{id}
<?xml version="1.0" encoding="UTF-8"?> <reminder-tag> <id type="integer">1</id> <reminder_id type="integer">1</reminder_id> <name>foo</name> </reminder-tag>
POST /api/reminder-tags
XML-Element | Beschreibung | Typ | Default-Wert | Pflichtfeld |
---|---|---|---|---|
reminder_id | ID der Mahnung | INT | ja | |
name | Schlagwort | ALNUM | ja |
<reminder-tag> <reminder_id>1</reminder_id> <name>foo</name> </reminder-tag>
<?xml version="1.0" encoding="UTF-8"?> <reminder-tag> <id type="integer">1</id> <reminder_id type="integer">1</reminder_id> <name>foo</name> </reminder-tag>
DELETE /api/reminder-tags/{id}