Skip to content

Commit 4051fb7

Browse files
committed
fixup! Migrate REST SDK API spec Constructor page to MDX
1 parent 877680a commit 4051fb7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/pages/docs/api/rest-sdk.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -499,15 +499,15 @@ Makes a REST request to a provided path. This is provided as a convenience for d
499499

500500
</If>
501501

502-
<If lang="csharp,flutter,java,objc,swift,python,go">
502+
<If lang="csharp,flutter,java,objc,swift,python,ruby,php,go">
503503

504504
| Parameter | Description | Type |
505505
|-----------|-------------|------|
506-
| method | either `get`, `post`, `put`, `patch` or `delete` | <If lang="csharp,go">`string`</If><If lang="flutter,python,objc,swift,java">`String`</If> |
507-
| path | the path to query | <If lang="csharp,go">`string`</If><If lang="flutter,python,objc,swift,java">`String`</If> |
508-
| params | (optional) any querystring parameters needed | <If lang="csharp">`Dictionary<string, string>`</If><If lang="flutter,python,objc,swift,java">`Object`</If><If lang="go">`PaginateParams`</If> |
509-
| body | (optional; for `post`, `put` and `patch` methods) the body of the request, as anything that can be serialized into JSON, as a JToken. | <If lang="csharp">`Token`</If><If lang="flutter,python,objc,swift,java">`Serializable`</If><If lang="go">`interface`</If> |
510-
| headers | (optional) any headers needed. If provided, these will be mixed in with the default library headers | <If lang="csharp">`Dictionary<string, string>`</If><If lang="flutter,python,objc,swift,java">`Object`</If><If lang="go">`http.Header`</If> |
506+
| method | either `get`, `post`, `put`, `patch` or `delete` | <If lang="csharp,go">`string`</If><If lang="flutter,python,objc,swift,java,ruby,php">`String`</If> |
507+
| path | the path to query | <If lang="csharp,go">`string`</If><If lang="flutter,python,objc,swift,java,ruby,php">`String`</If> |
508+
| params | (optional) any querystring parameters needed | <If lang="csharp">`Dictionary<string, string>`</If><If lang="flutter,python,objc,swift,java,ruby,php">`Object`</If><If lang="go">`PaginateParams`</If> |
509+
| body | (optional; for `post`, `put` and `patch` methods) the body of the request, as anything that can be serialized into JSON, as a JToken. | <If lang="csharp">`Token`</If><If lang="flutter,python,objc,swift,java,ruby,php">`Serializable`</If><If lang="go">`interface`</If> |
510+
| headers | (optional) any headers needed. If provided, these will be mixed in with the default library headers | <If lang="csharp">`Dictionary<string, string>`</If><If lang="flutter,python,objc,swift,java,ruby,php">`Object`</If><If lang="go">`http.Header`</If> |
511511

512512
</If>
513513

0 commit comments

Comments
 (0)