https://github.com/bidmcdigitalpsychiatry/lamp-kotlin
The Kotlin API client for the LAMP Platform. (Please use JitPack.io to import this library.)
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.3%) to scientific vocabulary
Repository
The Kotlin API client for the LAMP Platform. (Please use JitPack.io to import this library.)
Basic Info
- Host: GitHub
- Owner: BIDMCDigitalPsychiatry
- License: bsd-3-clause
- Language: Kotlin
- Default Branch: master
- Homepage: https://docs.lamp.digital/
- Size: 526 KB
Statistics
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 0
- Releases: 11
Metadata Files
README.md
Kotlin API client for the LAMP Platform
Overview
This API client is used to connect to the LAMP Platform from the Kotlin programming language. Visit our documentation for more information about the LAMP Platform.
Installation
Prerequisites
Requirements: * Kotlin 1.3.41 * Gradle 4.9
First, set up gradle:
gradle wrapper
./gradlew check assemble
Configuration
Follow these steps:
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/{participantid}/activity | Get all activities for a participant. ActivityAPI | activityAllByResearcher | GET /researcher/{researcherid}/activity | Get all activities for a researcher. ActivityAPI | activityAllByStudy | GET /study/{studyid}/activity | Get all activities in a study. ActivityAPI | activityCreate | POST /study/{studyid}/activity | Create a new Activity under the given Study. ActivityAPI | activityDelete | DELETE /activity/{activityid} | Delete an Activity. ActivityAPI | activityUpdate | PUT /activity/{activityid} | Update an Activity's settings. ActivityAPI | activityView | GET /activity/{activityid} | Get a single activity, by identifier. ActivityEventAPI | activityEventAllByParticipant | GET /participant/{participantid}/activityevent | Get all activity events for a participant. ActivityEventAPI | activityEventAllByResearcher | GET /researcher/{researcherid}/activityevent | Get all activity events for a researcher by participant. ActivityEventAPI | activityEventAllByStudy | GET /study/{studyid}/activityevent | Get all activity events for a study by participant. ActivityEventAPI | activityEventCreate | POST /participant/{participantid}/activityevent | Create a new ActivityEvent for the given Participant. ActivityEventAPI | activityEventDelete | DELETE /participant/{participantid}/activityevent | Delete a ActivityEvent. ActivitySpecAPI | activitySpecAll | GET /activityspec | Get all ActivitySpecs registered. ActivitySpecAPI | activitySpecCreate | POST /activityspec | Create a new ActivitySpec. ActivitySpecAPI | activitySpecDelete | DELETE /activityspec/{activityspecname} | Delete an ActivitySpec. ActivitySpecAPI | activitySpecUpdate | PUT /activityspec/{activityspecname} | Update an ActivitySpec. ActivitySpecAPI | activitySpecView | GET /activityspec/{activityspecname} | View an ActivitySpec. CredentialAPI | credentialCreate | POST /type/{typeid}/credential | CredentialAPI | credentialDelete | DELETE /type/{typeid}/credential/{accesskey} | CredentialAPI | credentialList | GET /type/{typeid}/credential | CredentialAPI | credentialUpdate | PUT /type/{typeid}/credential/{accesskey} | ParticipantAPI | participantAll | GET /participant | Get the set of all participants. ParticipantAPI | participantAllByResearcher | GET /researcher/{researcherid}/participant | Get the set of all participants under a single researcher. ParticipantAPI | participantAllByStudy | GET /study/{studyid}/participant | Get the set of all participants in a single study. ParticipantAPI | participantCreate | POST /study/{studyid}/participant | Create a new Participant for the given Study. ParticipantAPI | participantDelete | DELETE /participant/{participantid} | Delete a participant AND all owned data or event streams. ParticipantAPI | participantUpdate | PUT /participant/{participantid} | Update a Participant's settings. ParticipantAPI | participantView | GET /participant/{participantid} | 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/{researcherid} | Delete a researcher. ResearcherAPI | researcherUpdate | PUT /researcher/{researcherid} | Update a Researcher's settings. ResearcherAPI | researcherView | GET /researcher/{researcherid} | Get a single researcher, by identifier. SensorAPI | sensorAll | GET /sensor | Get the set of all sensors. SensorAPI | sensorAllByParticipant | GET /participant/{participantid}/sensor | Get all sensors for a participant. SensorAPI | sensorAllByResearcher | GET /researcher/{researcherid}/sensor | Get all sensors for a researcher. SensorAPI | sensorAllByStudy | GET /study/{studyid}/sensor | View all sensors in a study. SensorAPI | sensorCreate | POST /study/{studyid}/sensor | Create a new Sensor under the given Study. SensorAPI | sensorDelete | DELETE /sensor/{sensorid} | Delete a Sensor. SensorAPI | sensorUpdate | PUT /sensor/{sensorid} | Update an Sensor's settings. SensorAPI | sensorView | GET /sensor/{sensorid} | Get a single sensor, by identifier. SensorEventAPI | sensorEventAllByParticipant | GET /participant/{participantid}/sensorevent | Get all sensor events for a participant. SensorEventAPI | sensorEventAllByResearcher | GET /researcher/{researcherid}/sensorevent | Get all sensor events for a researcher by participant. SensorEventAPI | sensorEventAllByStudy | GET /study/{studyid}/sensorevent | Get all sensor events for a study by participant. SensorEventAPI | sensorEventCreate | POST /participant/{participantid}/sensorevent | Create a new SensorEvent for the given Participant. SensorEventAPI | sensorEventDelete | DELETE /participant/{participantid}/sensorevent | Delete a sensor event. SensorSpecAPI | sensorSpecAll | GET /sensorspec | Get all SensorSpecs registered. SensorSpecAPI | sensorSpecCreate | POST /sensorspec | Create a new SensorSpec. SensorSpecAPI | sensorSpecDelete | DELETE /sensorspec/{sensorspecname} | Delete an SensorSpec. SensorSpecAPI | sensorSpecUpdate | PUT /sensorspec/{sensorspecname} | Update an SensorSpec. SensorSpecAPI | sensorSpecView | GET /sensorspec/{sensorspecname} | Get a SensorSpec. StudyAPI | studyAll | GET /study | Get the set of all studies. StudyAPI | studyAllByResearcher | GET /researcher/{researcherid}/study | Get the set of studies for a single researcher. StudyAPI | studyCreate | POST /researcher/{researcherid}/study | Create a new Study for the given Researcher. StudyAPI | studyDelete | DELETE /study/{studyid} | Delete a study. StudyAPI | studyUpdate | PUT /study/{studyid} | Update the study. StudyAPI | studyView | GET /study/{studyid} | Get a single study, by identifier. TypeAPI | typeGetAttachment | GET /type/{typeid}/attachment/{attachmentkey} | TypeAPI | typeGetDynamicAttachment | GET /type/{typeid}/attachment/dynamic/{attachmentkey} | TypeAPI | typeListAttachments | GET /type/{typeid}/attachment | TypeAPI | typeParent | GET /type/{typeid}/parent | Find the owner(s) of the resource. TypeAPI | typeSetAttachment | PUT /type/{typeid}/attachment/{attachmentkey}/{target} | TypeAPI | typeSetDynamicAttachment | PUT /type/{typeid}/attachment/dynamic/{attachmentkey}/{target} |
Documentation for Models
Owner
- Name: BIDMC Division of Digital Psychiatry
- Login: BIDMCDigitalPsychiatry
- Kind: organization
- Email: team@digitalpsych.org
- Location: Longwood Medical Area, Boston, MA, US
- Website: https://digitalpsych.org/
- Repositories: 28
- Profile: https://github.com/BIDMCDigitalPsychiatry
GitHub Events
Total
- Release event: 1
- Watch event: 3
- Issue comment event: 1
- Push event: 1
- Pull request review event: 1
- Pull request event: 4
- Fork event: 1
- Create event: 2
Last Year
- Release event: 1
- Watch event: 3
- Issue comment event: 1
- Push event: 1
- Pull request review event: 1
- Pull request event: 4
- Fork event: 1
- Create event: 2
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 0
- Total pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: 15 minutes
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.5
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: 15 minutes
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.5
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- anjumg03 (4)
- sijitg (2)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- androidx.appcompat:appcompat 1.2.0 implementation
- androidx.constraintlayout:constraintlayout 2.0.4 implementation
- androidx.core:core-ktx 1.3.2 implementation
- com.google.android.material:material 1.2.1 implementation
- com.squareup.retrofit2:converter-gson 2.8.1 implementation
- org.jetbrains.kotlin:kotlin-stdlib $kotlin_version implementation
- androidx.core:core-ktx 1.3.2 implementation
- com.google.android.gms:play-services-location 17.1.0 implementation
- com.squareup.moshi:moshi 1.11.0 implementation
- com.squareup.moshi:moshi-adapters 1.11.0 implementation
- com.squareup.moshi:moshi-kotlin 1.11.0 implementation
- com.squareup.okhttp3:okhttp 4.9.0 implementation
- org.jetbrains.kotlin:kotlin-stdlib $kotlin_version implementation