handlers

package
v0.0.0-...-e2e76ad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2022 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOneDefaultConsent

func GetOneDefaultConsent(params operations.GetOneDefaultConsentParams, tx *pop.Connection) middleware.Responder

GetOneDefaultConsent fetches the DefaultConsent for the requested defaultConsent.

func GetProjectConsentsByParticipant

func GetProjectConsentsByParticipant(params operations.GetProjectConsentsByParticipantParams, tx *pop.Connection) middleware.Responder

GetProjectConsentsByParticipant fetches all of the ProjectConsents associated with a Participant

func InitializeProjectConsent

func InitializeProjectConsent(params operations.InitializeProjectConsentParams, tx *pop.Connection) middleware.Responder

InitializeProjectConsent takes the default consents for the study_identifier posted by the API request, and uses them to initialize a project-specific set of consents, which it creates into the database. It then returns the URL location of these project consents.

func PostParticipant

PostParticipant processes a Participant+DefaultConsent resource posted by the API request and creates it into the database. It then returns the URL location of this Participant, along with its uuid (the {study_identifier} parameter in the API).

func PutProjectConsent

PutProjectConsent takes the default consents for the study_identifier posted by the API request, and uses them to initialize a project-specific set of consents, which it creates into the database. It then returns the URL location of these project consents.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL