GET
/ratchet/versions/{vid}/bom
const url = 'http://localhost:8000/ratchet/versions/1/bom';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8000/ratchet/versions/1/bomOne adapter’s bill of materials, written when it was trained. Check it with python -m ratchet.bom verify. Read
like /ratchet/bom.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”vid
required
Vid
integer
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Response Version Bom Ratchet Versions Vid Bom Get
object
Example generated
{}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}