Skip to content

Server: new route paths for getting information about the Cloud Office Print server. #81

@SibrenJacobs

Description

@SibrenJacobs

Access token can be given via the request query or via the request header.

/stats

Returns the current statistics of the COP server. They are return in JSON format.

/server_errors

Returns the server errors of the COP server. They are returned in log file format.
By adding the parameter 'latest' in the query string, you can get only the x latest lines.
Example: http://localhost:8010/server_errors?latest=10

/server_printjobs

Returns the server print jobs errors of the COP server. They are returned in log file format of current date.
By adding the parameter 'date' in the query string, you can get the print jobs of that date.
Example: http://localhost:8010/server_printjobs?date=20211222

/network_logs

Returns the network logs of the COP server. They are returned in log file format.
By adding the parameter 'date' in the query string, you can get the network logs of that date.
Example: http://localhost:8010/network_logs?date=20211227

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions