Skip to content

Commit fe8a8c2

Browse files
Merge branch 'main' into fix/footer-css
2 parents f0304a6 + d002a1d commit fe8a8c2

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

custom-implementation/src/main.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ const render = async () => {
2323
const sidenav = document.querySelector('button.fern-search-bar')
2424
?.parentElement as HTMLElement
2525

26+
const theme = document.getElementsByTagName('html')[0].getAttribute('class')
27+
2628
if (!document.getElementById('theme-switch')) {
2729
const wrapper = document.createElement('div')
2830
wrapper.setAttribute('id', 'theme-switch')

fern.zip

-9.74 MB
Binary file not shown.

fern/docs/pages/welcome.mdx

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
The DevRev API is organized around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes and authentication.
1+
The DevRev API is organized around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.
2+
23
If you're new to DevRev APIs, you've come to the right place. Our APIs serve as the foundation for integrating your apps, building automations, and creating custom snap-ins.
34
You can also refer to our [Postman collection](https://postman.devrev.ai/).
45

@@ -10,6 +11,21 @@ You can also refer to our [Postman collection](https://postman.devrev.ai/).
1011
```
1112
</CodeBlock>
1213

14+
You can use the DevRev API in test a demo organization which doesn’t affect your live data or interact with your real customers.
15+
16+
To create a new organization in DevRev:
17+
18+
1. Click on your profile picture on the top left corner.
19+
2. Go to the **Orgs** section and click on **+**.
20+
3. Fill in the details and click **Create**.
21+
22+
![demo org](../img/demoorg.png)
23+
24+
Now you can find your newly created org in **Orgs**.
25+
26+
Login into your demo org and [obtain the PAT token](/about/authentication#generate-a-personal-access-token-pat).
27+
Now you can use this PAT token to make test API calls and try building something new.
28+
1329
In this tutorial, you will be able to retrive your account information by using the `dev-users` API. Let's get started with DevRev APIs.
1430

1531
## Prerequisites

0 commit comments

Comments
 (0)