ContinuityApp

Project Logs

Gets activity log for a project. We try to log as much as possible, so debug and troubleshooting can be easy.

Auth&ACL

Both users and collaborators can access this API, via OAuth projects scope (or HTTP Basic Authentication for development purposes).

Definition

GET https://v1.continuityapp.ws/projects/<project_id>/syslog

Arguments

Arguments    
lines Optional By default the last 25 lines are returned. Use this parameter to request more lines.

Example request

$ curl https://v1.continuityapp.ws/projects/123456789123456789/syslog?lines=50&oauth_token=<access_token>

Returns

A list of project related logs entries are returned. Log lines are like 2013-02-17T01:42:16Z continuityapp[0]: marco@continuityapp.com invited 'collaborator@continuityapp.com' to collaborate where

Line  
2013-02-17T01:42:16Z Time when event happened.
continuityapp Infrastructure component that triggered the event.
[0] Infrastructure component identifier (in case of multiple actors) that triggered the event.
message The logged message

Example response

{
  "response": [
    "2013-02-17T01:42:16Z continuityapp[0]: Log Line 476",
    "2013-02-17T01:42:16Z continuityapp[0]: Log Line 477",
    "2013-02-17T01:42:16Z continuityapp[0]: Log Line 478",
    "2013-02-17T01:42:16Z continuityapp[0]: Log Line 479",
    "2013-02-17T01:42:16Z continuityapp[0]: Log Line 480",
    "2013-02-17T01:42:16Z continuityapp[0]: Log Line 481",
    "2013-02-17T01:42:16Z continuityapp[0]: Log Line 482",
    "2013-02-17T01:42:16Z continuityapp[0]: Log Line 483",
    "2013-02-17T01:42:16Z continuityapp[0]: Log Line 484",
    "2013-02-17T01:42:16Z continuityapp[0]: Log Line 485",
    "2013-02-17T01:42:16Z continuityapp[0]: Log Line 486"
  ]
}

Errors

There are no specific errors for this API.

comments powered by Disqus