Bug 38389

Summary: Add 'subscriptions' embed to vendors endpoint
Product: Koha Reporter: Martin Renvoize (ashimema) <martin.renvoize>
Component: REST APIAssignee: Martin Renvoize (ashimema) <martin.renvoize>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: kyle, matt.blenkinsop, tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 38011    
Bug Blocks:    
Attachments: Bug 38389: Add subscriptions to vendor endpoint as embed

Description Martin Renvoize (ashimema) 2024-11-07 11:59:54 UTC
We should be able to embed subscriptions in the vendors endpoint
Comment 1 Martin Renvoize (ashimema) 2024-11-07 12:51:46 UTC
Created attachment 174191 [details] [review]
Bug 38389: Add subscriptions to vendor endpoint as embed
Comment 2 Martin Renvoize (ashimema) 2024-11-07 12:53:09 UTC
This is a work in progress.. we could do with a discussion around the mapping of the various fields involved in the subscription table and object.

I've made a start and thankfully we're not actually embedding anywhere yet, but there are a number of places where in theory we do already allow this embed and we've not linked it to a spec or added the required to_api_mapping method!