Files
List Files
This endpoint allows you to list all Files related to a given Infraspeak object.
get/files/{relatedTo}/{relatedToId}
Request
- Base URL: https://api.infraspeak.com/v3
- URL: https://api.infraspeak.com/v3/files/{relatedTo}/{relatedToId}
- Auth: HTTP bearer
Path parameters
relatedTo'ELEMENT' | 'ELEMENT_REGISTRY' | 'SCHEDULE_WORK' | 'FAILURE' | 'failure' | 'BUILDING' | 'CATEGORY' | 'OPERATOR' | 'operator' | 'CLIENT' | 'WORK' | 'METERING_REGISTRY' | 'REQUEST' | 'SELL_ORDER' | 'SUPPLIER' | 'supplier' | 'ORDER' | 'QUOTE' | 'QUOTE_REQUEST' | 'quote_request' | 'RECEIVED_QUOTE' | 'received_quote' | 'RECEIVED_QUOTE_REQUEST' | 'received_quote_request' required
Type of the object related to the Files
The type of relation to the file
relatedToIdstring required
The ID of the related object
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.