Pages API object definitions

Are there object definitions available anywhere?

Specifically, I am interested in knowing the possible options for Deploys > Stages > status field. I can see that there’s idle canceled and success.

Are there any others?

Thanks!

It can be: idle, active, canceled, success, failure, or skipped.

You’ll find definitions for some of the API responses in the @cloudflare/types npm package. There’s zero documentation for it unfortunately, but for the Pages types you should see them in src/api/pages.ts.

1 Like

Wow, that’s unfortunate.

Thanks so much, huge help!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.