Bug 17856 - Add API endpoint for item types
Summary: Add API endpoint for item types
Status: RESOLVED DUPLICATE of bug 34008
Alias: None
Product: Koha
Classification: Unclassified
Component: REST API (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Jiri Kozlovsky
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-06 11:00 UTC by Josef Moravec
Modified: 2024-07-22 11:13 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Added REST API endpoint for item types (5.38 KB, patch)
2017-01-15 02:16 UTC, Jiri Kozlovsky
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Josef Moravec 2017-01-06 11:00:30 UTC

    
Comment 1 Jiri Kozlovsky 2017-01-15 02:16:22 UTC
Created attachment 58994 [details] [review]
Added REST API endpoint for item types

To test:
1) Go to /api/v1/item_types
2) Check there were returned all item types

I'm sorry I couldn't create unit tests because I have somehow broken
kohadevbox installation :/ .. nor "koha-shell kohadevbox" works :(
Comment 2 Josef Moravec 2017-01-17 19:49:19 UTC
Thanks for the quick patch...
Would you mind to make it full CRUD? It shouldn't hurt too much I think a could be useful...

Faiing because of lack of test...
Comment 3 Martin Renvoize (ashimema) 2024-07-22 11:13:37 UTC

*** This bug has been marked as a duplicate of bug 34008 ***