codespace
scope to use this endpoint.codespaces
repository permission to use this endpoint.curl --location --request POST 'https://api.github.com/user/codespaces//publish' \
--header 'Content-Type: application/json' \
--data-raw '{
"private": false,
"repository": "monalisa-octocat-hello-world-g4wpq6h95q"
}'