]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Implements Tags endpoints for Shaarli's REST API
authorArthurHoaro <arthur@hoa.ro>
Sat, 19 May 2018 13:04:04 +0000 (15:04 +0200)
committerArthurHoaro <arthur@hoa.ro>
Mon, 4 Jun 2018 16:51:22 +0000 (18:51 +0200)
commitd3f42ca487287447efb81061609644108044a038
tree6e9d5a33290f857c8f7a04dbdf8cf0ca749db149
parent17e45b2e9c33c736751e059276fadb480f98e621
Implements Tags endpoints for Shaarli's REST API

Endpoints:

 * List All Tags [GET]
 * Get a tag [GET]
 * Update a tag [PUT]
 * Delete a tag [DELETE]

Fixes #904
References shaarli/api-documentation#34
16 files changed:
application/api/ApiUtils.php
application/api/controllers/Links.php
application/api/controllers/Tags.php [new file with mode: 0644]
application/api/exceptions/ApiTagNotFoundException.php [new file with mode: 0644]
index.php
tests/api/controllers/history/HistoryTest.php [moved from tests/api/controllers/HistoryTest.php with 100% similarity]
tests/api/controllers/info/InfoTest.php [moved from tests/api/controllers/InfoTest.php with 100% similarity]
tests/api/controllers/links/DeleteLinkTest.php [moved from tests/api/controllers/DeleteLinkTest.php with 100% similarity]
tests/api/controllers/links/GetLinkIdTest.php [moved from tests/api/controllers/GetLinkIdTest.php with 100% similarity]
tests/api/controllers/links/GetLinksTest.php [moved from tests/api/controllers/GetLinksTest.php with 100% similarity]
tests/api/controllers/links/PostLinkTest.php [moved from tests/api/controllers/PostLinkTest.php with 100% similarity]
tests/api/controllers/links/PutLinkTest.php [moved from tests/api/controllers/PutLinkTest.php with 100% similarity]
tests/api/controllers/tags/DeleteTagTest.php [new file with mode: 0644]
tests/api/controllers/tags/GetTagNameTest.php [new file with mode: 0644]
tests/api/controllers/tags/GetTagsTest.php [new file with mode: 0644]
tests/api/controllers/tags/PutTagTest.php [new file with mode: 0644]