delete.logs

This service can be used to delete a set of log entries which meet a specific set of criteria.

About

Supported Formats

  • XML
  • JSON
  • PHP

Attributes

Cacheable   - No
Cache TTL   - N/A
Secure      - Yes
Metered     - Yes
Limit       - 100 Requests
Limit Cycle - 24 Hrs.

Parameters

key     - (string) The API key associated with your application. [REQUIRED]
from    - (string) If deleting a range of records by date, this must be in YYYY-MM-DD HH:MM:SS format
to      - (string) If deleting a range of records by date, this must be in YYYY-MM-DD HH:MM:SS format
type    - (string) Filter by type of service associated with the log entry (get, post or delete)
service - (string) Filter by service name
format  - (string) Filter by service format (xml, json or php)
  1. Note that from and to dates must both be valid if they are to be used.
  2. Read the documentation for get.services for valid service names.
  3. All fields except for key are optional.

Example Responses

This service will respond with the standard header information as well as a deleted field. This field represent the number of affected log records.

deleted - The number of deleted records, if any

Files

Valid URLs

  • http://rest.snag.gr/images/delete.logs.xml
  • http://rest.snag.gr/images/delete.logs.json
  • http://rest.snag.gr/images/delete.logs.php

Helpful Links

Recent Discussions

No discussions yet!