Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

📚 Documentation: GraphQL docs show REST endpoints #320

Closed
2 tasks done
donni106 opened this issue Jan 9, 2023 · 2 comments
Closed
2 tasks done

📚 Documentation: GraphQL docs show REST endpoints #320

donni106 opened this issue Jan 9, 2023 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@donni106
Copy link

donni106 commented Jan 9, 2023

💭 Description

in the docs for databases / server when switching to GraphQL the REST endpoints are given, see https://appwrite.io/docs/server/databases?sdk=graphql-default

image

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@donni106 donni106 added the documentation Improvements or additions to documentation label Jan 9, 2023
@stnguyen90
Copy link
Contributor

@donni106, thanks for raising this issue! 🙏🏼

@stnguyen90
Copy link
Contributor

Maybe we should check for language and then use /graphql for the URL in one of these places:

$operation['url'] = $url;

$url = $operation['url'] ?? '';

<span class="method <?php echo $this->escape($method); ?>"><?php echo strtoupper($this->escape($method)); ?></span><span class="endpoint"><?php //echo $this->escape($endpoint); ?></span><span class="path">/v1<?php echo $this->escape($url); ?></span>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants