Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SibrenJacobs opened this issue May 23, 2022 · 0 comments

Comments

@SibrenJacobs
Copy link

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

SibrenJacobs pushed a commit that referenced this issue Jun 2, 2022
…nformation of the Cloud Office Print server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant