View a Tugboat Project

Retrieves the details of a Tugboat Project, or a set of Projects.

Arguments

  • project - Optional
    The ID of the project to list. If not specified, a list of all projects that the user has permission to view is returned.

Example

socket.emit('tugboat', 'projects', 'list', args, callback);

Output

single

[
    {
        "updatedAt": "2017-02-14T18:47:18.102Z",
        "createdAt": "2017-02-14T18:47:18.102Z",
        "name": "test",
        "_id": "58a350b6ce7c680001458884",
        "sleep": true,
        "base": false,
        "size": 0,
        "quota": 0,
        "admins": ["58a22d61f405580001b36b84"],
        "users": ["58a22d61f405580001b36b86"],
        "id": "58a350b6ce7c680001458884"
    }
]

array

[
    {
        "updatedAt": "2017-02-14T18:47:18.102Z",
        "createdAt": "2017-02-14T18:47:18.102Z",
        "name": "test",
        "_id": "58a350b6ce7c680001458884",
        "sleep": true,
        "base": false,
        "size": 0,
        "quota": 0,
        "admins": ["58a22d61f405580001b36b84"],
        "users": ["58a22d61f405580001b36b86"],
        "id": "58a350b6ce7c680001458884"
    }
]

Errors

  • 1003: No Projects Found
    Returned if the requested projects do not exist, or the requestor does not have permission to view them.

results matching ""

    No results matching ""