I didn't check on a real Misskey server due to I have no admin permission.
For now, I've confirmed that I requested then returned ROLE_PERMISSION_DENIED error.
$ go run try/main.go
<ROLE_PERMISSION_DENIED> ->
$
Verification Process
Run all tests and passed it.
Release Notes
The admin/invite/create endpoint is available for Admin/Invite/Create
coverage: 84.131% (+0.2%) from 83.927%
when pulling deae9ae27bdc50110a557b6a371e5a99e244173b on ryo-yamaoka:admin/invite/create
into 5ebcbed2ac54af9ec7a13f04ecc7d07fe654becf on yitsushi:main.
coverage: 84.145% (+0.2%) from 83.927%
when pulling 2523944fa2f50a0bdfc3a9cdc639daaa5d9d5f90 on ryo-yamaoka:admin/invite/create
into 5ebcbed2ac54af9ec7a13f04ecc7d07fe654becf on yitsushi:main.
coverage: 84.145% (+0.2%) from 83.927%
when pulling fadba7ace92a5ae8c082a376c7fa20cca9022253 on ryo-yamaoka:admin/invite/create
into 5ebcbed2ac54af9ec7a13f04ecc7d07fe654becf on yitsushi:main.
coverage: 84.145% (+0.2%) from 83.927%
when pulling 7650043e8374b767ca51cd971fb0fdfc6f6d318c on ryo-yamaoka:admin/invite/create
into 5ebcbed2ac54af9ec7a13f04ecc7d07fe654becf on yitsushi:main.
Description of the Change
admin/invite/create
Issue or RFC
https://github.com/yitsushi/go-misskey/issues/56 admin/invite
https://misskey.io/api-doc#tag/admin/operation/admin___invite___create
Alternate Designs
nothing
Possible Drawbacks
I didn't check on a real Misskey server due to I have no admin permission. For now, I've confirmed that I requested then returned
ROLE_PERMISSION_DENIED
error.Verification Process
Run all tests and passed it.
Release Notes
The admin/invite/create endpoint is available for Admin/Invite/Create