REST Python Module

Ingest Server Main.

class pacifica.ingest.rest.RestIngestState[source]

The CherryPy ingest state object.

static GET(job_id)[source]

Get the ingest state for the job.

exposed = True
class pacifica.ingest.rest.RestMove[source]

Ingest the data from the service.

static POST(*args, **kwargs)[source]

Wrapper method.

exposed = True
class pacifica.ingest.rest.RestUpload[source]

Ingest the data from the service.

static POST(*args, **kwargs)[source]

Wrapper method.

exposed = True
class pacifica.ingest.rest.Root[source]

The CherryPy root object.

static GET()[source]

Return happy message about functioning service.

exposed = True
get_state = <pacifica.ingest.rest.RestIngestState object>
move = <pacifica.ingest.rest.RestMove object>
upload = <pacifica.ingest.rest.RestUpload object>
pacifica.ingest.rest.error_page_default(**kwargs)[source]

The default error page should always enforce json.

pacifica.ingest.rest.get_authed_user(func)[source]

Decorator to pull out authed user.

pacifica.ingest.rest.get_remote_user()[source]

Get the remote user from cherrypy request headers.