Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you trust our responses and want to save bandwidth, you may also want to use viewmode=tiny, to only show "relevant" data. However, errors and other data are suppressed in this mode.

ViewportSeen as
jsonJSON (Default)
prettyJSON (Encoded with JSON_PRETTY_PRINT)
xmlXML
If driver is available, this viewport will be based on XML_Serializer. If our XML_Serializer fails, we will fall back to the SimpleXMLElement class.
yamlYAML
phpserializeA php serialized string
printA string based on print_r()
textRaw plain text from the response segment

Example: https://api-dev.tornevall.net/2.0/dnsbl/getEntriesCount/type/fraudbl?viewport=pretty&viewmode=tiny

Compression and encoding

There are undocumented and untested support for compression, that can be called by using encode=<encodeType>. The output format will be a double encoded result string that looks like this, and are named as their methods:

...

The response itself is the real rendered response. The supported encoding are listed below.

Compression typeMethodLevelResponse keyOther info
gzipgzEncode (PHP)9gzEncodeEncodedResponse 
gzipgzCompress (PHP)9gzCompressEncodedResponse 
md5md5-md5EncodedResponseThis is actually only a testing function and won't compress anything

 

Tracker

Jira
serverTornevall Networks Project Suite
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
maximumIssues20
jqlQueryProject = API
serverIdef1f2374-e58a-319f-9d38-10348dbac859

API

URLDescription
https://api.tornevall.net/1.0/Version 1.x
https://api.tornevall.net/2.0/Version 2.0
API v1.x (Deprecated)Docs for version 1.x
API v2.0Docs for version 2.x

Versions, changes, etc

VersionChanges, removals, adds, etc
1.0.5Deprecation when 2.x are officially released
2.0.0Initialized project. Still in alpha mode.