Closed twocs closed 11 months ago
@yitsushi I'm participating in Hacktoberfest. If this is approved please confirm whether I can also create endpoints for other issues, such as #44, #20. #17, #16, #13, #68, or #7.
Have updated to fix the golint and golang-ci-lint issues.
Have also added an example of creating a promo request.
Description of the Change
Implemented an endpoint (/api/admin/promo/create) for an admin to create a promo for a note.
Issue or RFC
Issue #65 Documentation: https://misskey.io/api-doc#tag/admin
Alternate Designs
Possible Drawbacks
Verification Process
Unit test for creating a promo.
Release Notes
Created an endpoint for admin to promo a note.