Skip to content

Upload Entries as JSON #10

@kronn

Description

@kronn

Puzzletime has an undocumented, inofficial JSON-Interface. The rails controllers accept json on the CRUD-actions. This could be used to upload all entries of a day and then maybe/configurably just open the day-overview to double-check things.

This necessitates adding the credentials to the config and sending them with every request (or keep a cookie an send that).

A simple solution would just upload the local entries. A more sophisticated, sync-like behaviour would first retrieve a list of existing entries of the day in question and only upload new ones, outputting a summary of what has been done and what the current state is, so that I do not need a browser at all.

A good first step to this is IMHO to just upload blindly and create follow-up issues for further improvements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions