Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

67 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSTrials Proxy for FAIR Wizard Authoring Tool

This service acts as a proxy API to authenticate and submit FAIR assessment components comming from FAIR Wizard authoring tool on behalf of a user, facilitating integration with external tools like:

  • FAIRsharing
  • OSTrails Github assessment metadata repository
  • FAIR Data Point

Start with Docker

version: '3'
services:
  api:
    image: saracuriel/fw-proxy:0.1.13 #check latest at https://hub.docker.com/r/saracuriel/proxy-fw/tags
    ports:
      - "8000:8000"
    environment:
      - AUTH_URL=https://api.fairsharing.org/users/sign_in
      - DATA_URL=https://api.fairsharing.org/fairsharing_records/
      - USERNAME=*****
      - PASSWORD=*****
      - GITHUB_TOKEN=*****

Note: Update the environment variables with your FAIRsharing user credentials. Also, you can modify URLs to change from dev to production


Environment Variables Reference

Variable Description
AUTH_URL FAIRsharing authentication endpoint.
DATA_URL FAIRsharing submission endpoint.
USERNAME Your FAIRsharing username.
PASSWORD Your FAIRsharing password.
GITHUB_TOKEN Your Github access token.

API Endpoints

Method Path Description
GET /questionnaire/docs Opens interactive API documentation (Swagger UI).
HEAD /questionnaire/docs
POST /questionnaire/submit Submits a FAIRsharing record and Github
POST /questionnaire/push Git push a Github record and FDP test registration with your RDF DCAT-based record

Accessing API Documentation

Navigate to http://YOUR_DOMAIN/questionnaire/docs to explore and test the API interactively via Swagger UI.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages