Swiftpack.co -  BIDMCDigitalPsychiatry/LAMP-swift as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
BIDMCDigitalPsychiatry/LAMP-swift
The Swift API client for the LAMP Platform.
.package(url: "https://github.com/BIDMCDigitalPsychiatry/LAMP-swift.git", from: "2021.5.19")

Swift API client for the LAMP Platform

Overview

This API client is used to connect to the LAMP Platform from the Swift programming language. Visit our documentation for more information about the LAMP Platform.

Installation

Prerequisites

TODO

Configuration

TODO

Documentation for API Endpoints

All URIs are relative to the server_address (by default, api.lamp.digital) with the https:// protocol.

Class Method HTTP request Description
APIAPI aPIQuery POST / Query the LAMP Database.
APIAPI aPISchema GET / View the API schema document.
ActivityAPI activityAll GET /activity Get the set of all activities.
ActivityAPI activityAllByParticipant GET /participant/{participant_id}/activity Get all activities for a participant.
ActivityAPI activityAllByResearcher GET /researcher/{researcher_id}/activity Get all activities for a researcher.
ActivityAPI activityAllByStudy GET /study/{study_id}/activity Get all activities in a study.
ActivityAPI activityCreate POST /study/{study_id}/activity Create a new Activity under the given Study.
ActivityAPI activityDelete DELETE /activity/{activity_id} Delete an Activity.
ActivityAPI activityUpdate PUT /activity/{activity_id} Update an Activity's settings.
ActivityAPI activityView GET /activity/{activity_id} Get a single activity, by identifier.
ActivityEventAPI activityEventAllByParticipant GET /participant/{participant_id}/activity_event Get all activity events for a participant.
ActivityEventAPI activityEventAllByResearcher GET /researcher/{researcher_id}/activity_event Get all activity events for a researcher by participant.
ActivityEventAPI activityEventAllByStudy GET /study/{study_id}/activity_event Get all activity events for a study by participant.
ActivityEventAPI activityEventCreate POST /participant/{participant_id}/activity_event Create a new ActivityEvent for the given Participant.
ActivityEventAPI activityEventDelete DELETE /participant/{participant_id}/activity_event Delete a ActivityEvent.
ActivitySpecAPI activitySpecAll GET /activity_spec Get all ActivitySpecs registered.
ActivitySpecAPI activitySpecCreate POST /activity_spec Create a new ActivitySpec.
ActivitySpecAPI activitySpecDelete DELETE /activity_spec/{activity_spec_name} Delete an ActivitySpec.
ActivitySpecAPI activitySpecUpdate PUT /activity_spec/{activity_spec_name} Update an ActivitySpec.
ActivitySpecAPI activitySpecView GET /activity_spec/{activity_spec_name} View an ActivitySpec.
CredentialAPI credentialCreate POST /type/{type_id}/credential
CredentialAPI credentialDelete DELETE /type/{type_id}/credential/{access_key}
CredentialAPI credentialList GET /type/{type_id}/credential
CredentialAPI credentialUpdate PUT /type/{type_id}/credential/{access_key}
ParticipantAPI participantAll GET /participant Get the set of all participants.
ParticipantAPI participantAllByResearcher GET /researcher/{researcher_id}/participant Get the set of all participants under a single researcher.
ParticipantAPI participantAllByStudy GET /study/{study_id}/participant Get the set of all participants in a single study.
ParticipantAPI participantCreate POST /study/{study_id}/participant Create a new Participant for the given Study.
ParticipantAPI participantDelete DELETE /participant/{participant_id} Delete a participant AND all owned data or event streams.
ParticipantAPI participantUpdate PUT /participant/{participant_id} Update a Participant's settings.
ParticipantAPI participantView GET /participant/{participant_id} Get a single participant, by identifier.
ResearcherAPI researcherAll GET /researcher Get the set of all researchers.
ResearcherAPI researcherCreate POST /researcher Create a new Researcher.
ResearcherAPI researcherDelete DELETE /researcher/{researcher_id} Delete a researcher.
ResearcherAPI researcherUpdate PUT /researcher/{researcher_id} Update a Researcher's settings.
ResearcherAPI researcherView GET /researcher/{researcher_id} Get a single researcher, by identifier.
SensorAPI sensorAll GET /sensor Get the set of all sensors.
SensorAPI sensorAllByParticipant GET /participant/{participant_id}/sensor Get all sensors for a participant.
SensorAPI sensorAllByResearcher GET /researcher/{researcher_id}/sensor Get all sensors for a researcher.
SensorAPI sensorAllByStudy GET /study/{study_id}/sensor View all sensors in a study.
SensorAPI sensorCreate POST /study/{study_id}/sensor Create a new Sensor under the given Study.
SensorAPI sensorDelete DELETE /sensor/{sensor_id} Delete a Sensor.
SensorAPI sensorUpdate PUT /sensor/{sensor_id} Update an Sensor's settings.
SensorAPI sensorView GET /sensor/{sensor_id} Get a single sensor, by identifier.
SensorEventAPI sensorEventAllByParticipant GET /participant/{participant_id}/sensor_event Get all sensor events for a participant.
SensorEventAPI sensorEventAllByResearcher GET /researcher/{researcher_id}/sensor_event Get all sensor events for a researcher by participant.
SensorEventAPI sensorEventAllByStudy GET /study/{study_id}/sensor_event Get all sensor events for a study by participant.
SensorEventAPI sensorEventCreate POST /participant/{participant_id}/sensor_event Create a new SensorEvent for the given Participant.
SensorEventAPI sensorEventDelete DELETE /participant/{participant_id}/sensor_event Delete a sensor event.
SensorSpecAPI sensorSpecAll GET /sensor_spec Get all SensorSpecs registered.
SensorSpecAPI sensorSpecCreate POST /sensor_spec Create a new SensorSpec.
SensorSpecAPI sensorSpecDelete DELETE /sensor_spec/{sensor_spec_name} Delete an SensorSpec.
SensorSpecAPI sensorSpecUpdate PUT /sensor_spec/{sensor_spec_name} Update an SensorSpec.
SensorSpecAPI sensorSpecView GET /sensor_spec/{sensor_spec_name} Get a SensorSpec.
StudyAPI studyAll GET /study Get the set of all studies.
StudyAPI studyAllByResearcher GET /researcher/{researcher_id}/study Get the set of studies for a single researcher.
StudyAPI studyCreate POST /researcher/{researcher_id}/study Create a new Study for the given Researcher.
StudyAPI studyDelete DELETE /study/{study_id} Delete a study.
StudyAPI studyUpdate PUT /study/{study_id} Update the study.
StudyAPI studyView GET /study/{study_id} Get a single study, by identifier.
TypeAPI typeGetAttachment GET /type/{type_id}/attachment/{attachment_key}
TypeAPI typeGetDynamicAttachment GET /type/{type_id}/attachment/dynamic/{attachment_key}
TypeAPI typeListAttachments GET /type/{type_id}/attachment
TypeAPI typeParent GET /type/{type_id}/parent Find the owner(s) of the resource.
TypeAPI typeSetAttachment PUT /type/{type_id}/attachment/{attachment_key}/{target}
TypeAPI typeSetDynamicAttachment PUT /type/{type_id}/attachment/dynamic/{attachment_key}/{target}

Documentation For Models

GitHub

link
Stars: 0
Last commit: 10 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

location sensor enhancement
10 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API