yitsushi / go-misskey

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

feat: Implement Users.ReportAbuse #107

Closed twocs closed 10 months ago

twocs commented 10 months ago

Description of the Change

API endpoint: /api/users/report-abuse API Doc: https://misskey.io/api-doc#tag/users/operation/users/report-abuse This endpoint requires a userId and a comment. It responds with 204 and empty payload on success. Alternately it returns a 4xx error.

Issue or RFC

17 Users ReportAbuse

Alternate Designs

Possible Drawbacks

Verification Process

A unit test of the function and the request validation. An example and tested it.

Release Notes

coveralls commented 10 months ago

Coverage Status

coverage: 83.935% (+0.1%) from 83.805% when pulling debf90a148b3c6177181284f238d8a043c6061e0 on twocs:users/report-abuse into 1509b56701f24cc74506aae2ca65ab4bd98f5ae9 on yitsushi:main.