naftiko: 1.0.0-alpha2 info: label: Trestle RESO Web API — Media Fetch description: 'Trestle RESO Web API — Media Fetch. 1 operation. Lead operation: Query Media Records. Self-contained Naftiko capability for retrieving listing photos, videos, and documents from CoreLogic Trestle via the OData Media resource.' tags: - CoreLogic - Trestle - RESO Web API - Media created: '2026-05-23' modified: '2026-05-23' binds: - namespace: env keys: CORELOGIC_TRESTLE_ACCESS_TOKEN: CORELOGIC_TRESTLE_ACCESS_TOKEN capability: consumes: - type: http namespace: trestle-media-fetch baseUri: https://api.cotality.com/trestle/odata description: Trestle RESO Web API — Media Fetch capability. Self-contained. resources: - name: media path: /Media operations: - name: querymedia method: GET description: Query Media Records outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $filter in: query type: string description: OData filter (typically ResourceRecordKey eq 'ListingKey...'). - name: $select in: query type: string - name: $top in: query type: integer - name: $skip in: query type: integer authentication: type: bearer value: '{{env.CORELOGIC_TRESTLE_ACCESS_TOKEN}}' placement: header