Skip to content

Add route to latest screenshot for use in automation #15

@vollstock

Description

@vollstock

It would be great to have a direct routes to screenshots (and thumbnails).

This way we can display the current status in an automation system without checking the latest date from JSON via the REST Api.

Latest

GET /tooloop/api/v1.0/screenshot/latest
http://<IP>//screenshots/latest
http://<IP>//screenshots/latest?size=thumbnail

Index

GET /tooloop/api/v1.0/screenshot/<int:index>
http://<IP>//screenshots/<int:index>
http://<IP>//screenshots/<int:index>?size=thumbnail

Date

GET /tooloop/api/v1.0/screenshot/date/<string:date>
http://<IP>//screenshots/date/<string:date>
http://<IP>//screenshots/date/<string:date>?size=thumbnail

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions