Vestige API Documentation

gRPC Service Description

The Vestige API offers a comprehensive suite of gRPC service calls, including:

Assignment and unassignment are deliberately separate calls. An assignment pairs a vehicle and a driver; an unassignment is a statement about one of them only, and carries no claim about the other.

For detailed information, refer to the service's proto file.

Getting Started with gRPC Service

For general information on gRPC, visit grpc.io.

The Vestige API service is accessible at grpcServerUrl.

Postman offers excellent support for testing and exploring gRPC services.

To consume the gRPC service in your application
  1. Generate proto file via gRPC reflection:

    dotnet grpc-cli dump grpcServerUrl vestige.api.v1.ApiService -o ./VestigeApi
  2. Once you have obtained the proto file, generate a strongly-typed client for your programming language following the instructions on the gRPC website.

Authorization

To obtain an access token, use the following cURL command:

curl --request POST \
  --url https://auth.transit-technologies.com/oauth/token \
  --header 'content-type: application/json' \
  --data '{"client_id":"APPLICATION_CLIENT_ID","client_secret":"APPLICATION_CLIENT_SECRET","audience":"https://vestigeview.app/api","grant_type":"client_credentials"}'
    

Use Bearer authentication for subsequent requests.

References

gRPC for .NET