misskey-dev / misskey-hub

Website for Misskey
https://misskey-hub.net
MIT License
285 stars 154 forks source link

inconsistent api endpoint documentation #288

Open tassoman opened 1 year ago

tassoman commented 1 year ago

I was reading docs for following/requests/list but looks like missing mandatory parameters.
https://misskey-hub.net/docs/api/endpoints/following/requests/list.html

If i try in my local console, it puts this parameters inside the request

{
  sinceId: '',
  untilId: '',
  limit: null,
}

Then, the response triggers an error

{
  message: 'Invalid param.',
  code: 'INVALID_PARAM',
  id: '3d81ceae-475f-4600-b2a8-2bc116157532',
  kind: 'client',
  info: {
    param: '#/properties/sinceId/format',
    reason: 'must match format "misskey:id"',
  },
}

Why local api-doc pages were destroyed? They was handy.