slack-php-api icon indicating copy to clipboard operation
slack-php-api copied to clipboard

Canvases support ?

Open Nuranto opened this issue 4 months ago • 4 comments

Hi,

Great job with this package, many thanks !

Will canvases endpoint be supported sometimes ? Can I help with that (do you accept external PRs ?) ?

https://api.slack.com/surfaces/canvases

Nuranto avatar Aug 25 '25 08:08 Nuranto

Hello,

thanks for your kind words :-)

We would love to have support for Canvases, but as far as we know there is no OpenAPI documentation for those schemas / endpoints ? 🤔

We do accept external contributions, so feel free to jump in! 👍

damienalexandre avatar Aug 25 '25 09:08 damienalexandre

Those endpoints seem to match ? https://api.slack.com/methods?query=canvas

Am I missing something ?

Nuranto avatar Aug 25 '25 09:08 Nuranto

Yes it match, but this package use a code generation tool (https://jane.readthedocs.io/en/latest/) to generate the API Client - and without an API Spec it cannot do much.

We have this one for for example: https://github.com/jolicode/slack-php-api/blob/main/resources/slack-openapi.json

damienalexandre avatar Aug 25 '25 09:08 damienalexandre

Ok I understand better. Linked to https://github.com/jolicode/slack-php-api/issues/184 . That's a bummer !

Nuranto avatar Aug 25 '25 12:08 Nuranto