/bio/proteins/{protein_id}/genes

  • Description

    Retrieve gene(s) associated to a given protein.

  • URL (PATH)

    /bio/proteins/{protein_id}/genes?token=:token

  • Method

    GET

  • Auth required

    Optional (token)

  • Request parameters
    Parameter Description
    protein_id *required
    [alphanumeric]
    example: A0A075B6S2
    A protein id
    token
    [alphanumeric]
    example: token=eyJhbGciOiJI...
    Optional access key to save the current query inside the user's profile
  • Example request
                                         GET http://disnet.ctb.upm.es/api/disnet/bio/proteins/A0A075B6S2/genes?token=
                                    
  • Success response (application/json)
                                        { 
        "token": "null", 
        "authorized": false, 
        "authorizationMessage": "null", 
        "responseCode": "200", 
        "responseMessage": "OK", 
        "errorsFound": null, 
        "genes_Id": [ 
    28882 
    ] 
    } 
    
                                    
  • Error response (application/json)

    Common errors

    Protein_id error