Build Scramjet with Us!We're hiring

Postman

Scramjet Rest API endpoints can be also be integrated to Postman API Platfrom with the following standardized steps, providing the easiness of importing Scramjet's Middleware.yaml file with minimum required modifications :

1. Download the Middleware.yaml file
2. Login to Postman
3. Go to My Workspace
4. Collections > Import > File > select/path/to/milddleware.yaml
5. Mark the Check box for Postman Collection/Scramjet Middleware then Import
6. Add Bearer Token to Middleware

7. Retreive Space-id from the MultiManager

  • Directory: /Scramjet Middleware/api/spaces

  • Method: [GET] Uses MultiManager

  • Authorization

Type
Inherit auth from parent
  • Save Changes
  • Click on Send button for the http GET request
  • Copy the retreived "id" to be assigned to {Manager-id}

8. Replace {Manager-id} with the Space-id

  • Directory: /Scramjet Middleware/api/v1/space/managerId

  • Url Header

    • Edit {managerId} field with the copied MultiManager "id"
    • Save Changes if necessary
  • Authorization

Type
Inherit auth from parent

9. Retreive the Sth-id to be used as Host-id

  • Directory: /Scramjet Middleware/api/v1/space/managerId/api/v1/list
  • Method: [GET] STH list
  • Params/Path Variables
KeyValue
managerId

MultiManager "id"

  • Save Changes if necessary

  • Authorization

Type
Inherit auth from parent
  • Save Changes
  • Click on Send button for the http GET request
  • Copy the retreived "id" to be assigned to {hostId}

10. Replace Host-id with the Sth-id

  • Directory: /Scramjet Middleware/api/v1/space/managerId/api/v1/sth/{hostId}

  • Url Header

    • Edit {hostId} field with the copied sth-id from the list
    • Save Changes if necessary
  • Authorization

Type
Inherit auth from parent

Note: Other API endpoints might require the retrieval of Space-id and Sth-id to be used as Parameter Path Variable values of {managerid} and {hostid} respectively.


Was it helpful?

Didn't find information needed?

Join our Scramjet Community on Discord, where you can get help from our engineers directly.