api documentation not work
-
i installed api as this link
https://bagisto.com/en/bagisto-api/
but documentation not work with me
https://ashtiri.com/public/api/shop/documentation -
Hello @othmasoft
Kindly let us know if the error message you are facing also provide your bagisto and rest api versions also it might be there is some issue regarding the configurations.
you need to get it run through swagger where all the end points of the API of Shop and Admin are available
Also you can go through the official devdocs through the link below.
https://devdocs.bagisto.com/2.x/api/getting-started-with-the-api.html#rest-api
Thanks & Regards
-
i got the reason
-
-
not yet
the js files path
http://ashtiri.local/C:\vhosts\ashtiri\storage\api-docs/shop/asset/swagger-ui.css?v=0755b7093afdd36d03212b65315f0209may it config issues in
\config\l5-swagger.php -
Hello @othmasoft
Did you add SANCTUM_STATEFUL_DOMAINS in your .env file
Kindly Confirm.
Thanks & Regards
-
@Rishabh-Webkul said in api documentation not work:
SANCTUM_STATEFUL_DOMAINS
SANCTUM_STATEFUL_DOMAINS=http://ashtiri.local/public
-
@Rishabh-Webkul SANCTUM_STATEFUL_DOMAINS=http://ashtiri.com/public