Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

https://agility-community.b-yond.com/cv/api/public/docs#/

Retrieve

...

service list

Endpoint

GET /cv/api/v1/services/

...

Code Block
curl -X 'GET' \
  'https://cv-dev.b-yond.com/cv/api/v1/services/?page=1&size=50' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer YOUR_ID_TOKEN'

 Start a new analysis

Endpoint

...

Code Block
curl -X 'POST' \
  'https://cv-dev.b-yond.com/cv/api/v1/analysis/file' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer YOUR_ID_TOKEN' \
  -H 'Content-Type: multipart/form-data' \
  -F 'uploadFile=@myfile.pcap' \
  -F 'serviceKeys=volte'

...

Get analysis results

Endpoint

GET /cv/api/v1/analysis/{analysis_id}/summary

...

Code Block
curl -X 'GET' \
  'https://cv-dev.b-yond.com/cv/api/v1/analysis/8599e936-19ee-4b13-a9ad-44fecadad9fe/summary?page=1&size=50' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer YOUR_ID_TOKEN'

...

Get all analyses

Endpoint

GET /cv/api/v1/analysis

...

Code Block
curl -X 'GET' \
  'https://cv-dev.b-yond.com/cv/api/v1/analysis?datetimeFrom=2023-10-01T00%3A00%3A00&datetimeTo=2023-10-31T23%3A59%3A59&containsInFilePath=pcap&finalStatus=true%2Cfalse%2Cwarning&results=success%2Cfailure%2Cwarning&orderAsc=false&page=1&size=50' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer YOUR_ID_TOKEN'

...

Get analysis file

Endpoint

GET /cv/api/v1/analysis/{analysis_id}/file

...