yitsushi / go-misskey

Misskey Go SDK
GNU General Public License v3.0
48 stars 12 forks source link

#65 admin/promo/create #103

Closed twocs closed 11 months ago

twocs commented 11 months ago

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.

twocs commented 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.

coveralls commented 11 months ago

Coverage Status

coverage: 83.746% (+0.1%) from 83.628% when pulling a02e6e3f1ffd65b9868256d4c236e49441538611 on twocs:main into 0bed30ae2e8da7c72b9baedf04445d8fa3b78e78 on yitsushi:main.

twocs commented 11 months ago

Have updated to fix the golint and golang-ci-lint issues.

twocs commented 11 months ago

Have also added an example of creating a promo request.