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

openProject( resource, interface ) #19

Open
cubap opened this issue Jun 6, 2016 · 0 comments
Open

openProject( resource, interface ) #19

cubap opened this issue Jun 6, 2016 · 0 comments
Labels
Milestone

Comments

@cubap
Copy link
Member

cubap commented Jun 6, 2016

Initialize or continue a project and open in the mentioned interface.

@params

resource ( String | Object )

Object or resolvable path to object on which the interface is based. One of:

  • TPEN Project—config object with references to sc:Manifest and project settings.
  • Manifest—sc:Manifest object to render in the interface. If no reference to an existing project is found, initialize a new one.
  • Canvassc:Canvas object to render in the interface. Conceal any Manifest-level interactions in the interface.
  • Image—any image-type acceptable to the interface specified. Create a sc:Canvas to initialize the interface and reference in saved annotations.
  • Annotation—any specific oa:Annotation may be rendered in a viewing interface for read only access or individual manipulation.

In the future, it may be possible to pass in arrays of individual objects, though this may be relegated to some middleware.

interface ( String )

Optional keyword or URI for interface within which to open the referenced resource. Default is "transcription" within TPEN, but may also send out the response to an alternative interface. The only available interface planned within TPEN for now is transcription, but RERUM may provide for canvas annotation, text markup, simple manifest generation, etc.

@returns
Response sends the TPEN Project object to the interface.

@cubap cubap added this to the basic methods milestone Jun 6, 2016
@cubap cubap added the methods label Jun 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant