observation-js Documentation - v1.16.0
    Preparing search index...

    Interface CreateSessionPayload

    The payload accepted when creating or updating a session.

    The geom may be provided as a GeoJSON object or a WKT (Well-known text) string. Only Point geometries are valid for type "point" and only LineString geometries for type "transect".

    interface CreateSessionPayload {
        uuid: string;
        type: "point" | "transect";
        observation_lists: CreateObservationListPayload[];
        start_datetime: string;
        end_datetime: string;
        geom: string | Point | LineString;
        notes: string;
    }
    Index

    Properties

    uuid: string
    type: "point" | "transect"
    observation_lists: CreateObservationListPayload[]
    start_datetime: string
    end_datetime: string
    geom: string | Point | LineString
    notes: string

    Must be entered as an empty string if left out.