PAM API

plums

PAM Web Service (Spring REST)
API 1. Retrieve all PAMs (Method: GET)
URL: http://pam.yilitexas.com/api/pam

This API allows the retrieval of all PAM sequences using a GET method. The return format is JSON, with a data structure as:
{
id: int
spacer: String
bacterial: String
phage: String
protospacer: String
pamseq: String
}

API 2. Retrieve PAMs from specific bacterial strains (Method: GET)
URL: http://pam.yilitexas.com/api/pam/{bacterial}
Example: http://pam.yilitexas.com/api/pam/Pyogenes

This API allows the retrieval of PAM sequences from specific bacterial strains using a GET method. The return format is JSON, with a data structure as:
{
id: int
spacer: String
bacterial: String
phage: String
protospacer: String
pamseq: String
}






PAM Microservice (Spring Boot)
download jar file here

Local database (MySQL)
download SQL file here

API 1. Retrieve all PAMs (Method: GET)
URL: http://localhost:8090/bootapi/pams

This API allows the retrieval of all PAM sequences using a GET method. The return format is JSON, with a data structure as:
{
id: int
spacer: String
bacterial: String
phage: String
protospacer: String
pamseq: String
}

API 2. Upload new PAMs (Method: POST)
URL: http://localhost:8090/bootapi/pams

This API allows uploading a new PAM sequence into the database using a POST method. The input format is JSON, with a data structure as:
{
spacer: String
bacterial: String
phage: String
protospacer: String
pamseq: String
}