Skip to content

Commit

Permalink
fix : REST Compliance in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachid Flih authored and Rachid Flih committed Aug 1, 2024
1 parent ae29362 commit 11e9e99
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/api-reference/auth/create-api-key.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
openapi: post /auth/generate-apikey
openapi: post /auth/api_keys
---
2 changes: 1 addition & 1 deletion docs/api-reference/auth/retrieve-api-keys.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
openapi: get /auth/api-keys
openapi: get /auth/api_keys
---
2 changes: 1 addition & 1 deletion docs/api-reference/field-mapping/define-target-field.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
openapi: post /field-mapping/define
openapi: post /field_mappings/definitions
---
2 changes: 1 addition & 1 deletion docs/api-reference/field-mapping/map-custom-field.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
openapi: post /field-mapping/map
openapi: post /field_mappings/mappings
---
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
openapi: get /field-mapping/properties
openapi: get /field_mappings/properties
---
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
openapi: get /field-mapping/entities
openapi: get /field_mappings/entities
---
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
openapi: get /field-mapping/value
openapi: get /field_mappings/values
---
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
openapi: get /field-mapping/attribute
openapi: get /field_mappings/attributes
---
2 changes: 1 addition & 1 deletion docs/api-reference/magic-link/retrieve-magic-links.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
openapi: get /magic-link
openapi: get /magic_links
---
2 changes: 1 addition & 1 deletion docs/api-reference/projects/create-a-project.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
openapi: post /projects/create
openapi: post /projects
---
6 changes: 3 additions & 3 deletions docs/core-concepts/custom-fields.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The following example creates a custom field mapping in two steps (**define and

```shell Create custom field
curl --request POST \
--url https://api.panora.dev/field-mappings \
--url https://api.panora.dev/field_mappings \
--header 'Authorization: Bearer <MY_API_KEY>' \
--header 'Content-Type: application/json' \
--data '{
Expand All @@ -76,7 +76,7 @@ The following example creates a custom field mapping in two steps (**define and
<CodeGroup>
```shell Define custom field
curl --request POST \
--url https://api.panora.dev/field-mappings/define \
--url https://api.panora.dev/field_mappings/definitions \
--header 'Authorization: Bearer <MY_API_KEY>' \
--header 'Content-Type: application/json' \
--data '{
Expand All @@ -89,7 +89,7 @@ The following example creates a custom field mapping in two steps (**define and

```shell Map custom field
curl --request POST \
--url https://api.panora.dev/field-mappings/map \
--url https://api.panora.dev/field_mappings/mappings \
--header 'Authorization: Bearer <MY_API_KEY>' \
--header 'Content-Type: application/json' \
--data '{
Expand Down

0 comments on commit 11e9e99

Please sign in to comment.