Skip to content

Latest commit

 

History

History
116 lines (98 loc) · 2.63 KB

ARCHITECTURE.md

File metadata and controls

116 lines (98 loc) · 2.63 KB

Architecture for version 0.10.15

Table of contents

Overview

Overview of structure

Components

Backend's component

Sequence diagrams

1. File api

a. Convert file

Endpoint:
/api/v1/chemspectra/file/convert  [POST]

Convert file

b. Convert molfile

Endpoint: 
/api/v1/chemspectra/molfile/convert [POST]

Convert molfile

c. Refresh file

Endpoint: 
/api/v1/chemspectra/file/refresh [POST]

Refresh file

d. Save file

Endpoint: 
/api/v1/chemspectra/file/save [POST]

Refresh file

2. Transform api

a. Transform to get jcamp files and images as zip format

Endpoint:
/zip_jcamp_n_img  [POST]

Transform get jcamps and images as zip

b. Transform to get jcamp files as zip format

Endpoint:
/zip_jcamp  [POST]

Transform get jcamp files as zip

c. Transform to get image as zip format

Endpoint:
/zip_image  [POST]

Transform get images as zip

d. Transform to get jcamp file

Endpoint:
/jcamp  [POST]

Transform get jcamp file

e. Transform to get image in PNG format

Endpoint:
/image  [POST]

Transform get image

3. Inference api

a. Predict NMR signals with peaks data as FORM request

Endpoint:
/predict/by_peaks_form  [POST]
/api/v1/chemspectra/predict/nmr_peaks_form [POST]

Predict NMR with peaks as FORM request

b. Predict NMR signals with peaks data as JSON request

Endpoint:
/predict/by_peaks_json  [POST]
/api/v1/chemspectra/predict/nmr_peaks_json [POST]

Predict NMR with peaks as JSON request

c. Predict Mass spectrum

Endpoint:
/predict/ms  [POST]
/api/v1/chemspectra/predict/ms [POST]

Predict Mass spectrum

d. Predict Mass spectrum

Endpoint:
/predict/infrared  [POST]
/api/v1/chemspectra/predict/infrared [POST]

Predict Infrared