File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -162,15 +162,15 @@ normal name (for instance `UserFlags`).
162162#### ` rest `
163163
164164This folder holds all the types that are related to Discord's REST API. Just like [ ` payloads ` ] ( #payloads ) , it is split
165- into folders that have an ` index.ts ` file. from the structure in [ ` Discord's API Documentation ` ] ( https://discord.dev ) ,
165+ into folders that have an ` index.ts ` file, from the structure in [ ` Discord's API Documentation ` ] ( https://discord.dev ) ,
166166under the ` Resources ` category.
167167
168168:::info
169169
170170Types created here must start with the ` REST ` prefix (for instance ` RESTGetAPIUserResult ` ) unless they are objects or
171171enums (for instance ` Routes ` ).
172172
173- They must also follow the following structure: ` REST{http_method}{type_name}{Query|(JSON|FormData)|Result} ` , where:
173+ They must also follow the following structure: ` REST{http_method}{type_name}{Query|(JSON|FormData)Body |Result} ` , where:
174174
175175- ` http_method ` is the PascalCase HTTP method name (for instance ` Get ` , ` Post ` , and so on)
176176- ` type_name ` is the actual name of the type it returns (for instance ` APIUser ` )
Original file line number Diff line number Diff line change @@ -162,15 +162,15 @@ normal name (for instance `UserFlags`).
162162#### ` rest `
163163
164164This folder holds all the types that are related to Discord's REST API. Just like [ ` payloads ` ] ( #payloads ) , it is split
165- into folders that have an ` index.ts ` file. from the structure in [ ` Discord's API Documentation ` ] ( https://discord.dev ) ,
165+ into folders that have an ` index.ts ` file, from the structure in [ ` Discord's API Documentation ` ] ( https://discord.dev ) ,
166166under the ` Resources ` category.
167167
168168:::info
169169
170170Types created here must start with the ` REST ` prefix (for instance ` RESTGetAPIUserResult ` ) unless they are objects or
171171enums (for instance ` Routes ` ).
172172
173- They must also follow the following structure: ` REST{http_method}{type_name}{Query|(JSON|FormData)|Result} ` , where:
173+ They must also follow the following structure: ` REST{http_method}{type_name}{Query|(JSON|FormData)Body |Result} ` , where:
174174
175175- ` http_method ` is the PascalCase HTTP method name (for instance ` Get ` , ` Post ` , and so on)
176176- ` type_name ` is the actual name of the type it returns (for instance ` APIUser ` )
Original file line number Diff line number Diff line change @@ -162,15 +162,15 @@ normal name (for instance `UserFlags`).
162162#### ` rest `
163163
164164This folder holds all the types that are related to Discord's REST API. Just like [ ` payloads ` ] ( #payloads ) , it is split
165- into folders that have an ` index.ts ` file. from the structure in [ ` Discord's API Documentation ` ] ( https://discord.dev ) ,
165+ into folders that have an ` index.ts ` file, from the structure in [ ` Discord's API Documentation ` ] ( https://discord.dev ) ,
166166under the ` Resources ` category.
167167
168168:::info
169169
170170Types created here must start with the ` REST ` prefix (for instance ` RESTGetAPIUserResult ` ) unless they are objects or
171171enums (for instance ` Routes ` ).
172172
173- They must also follow the following structure: ` REST{http_method}{type_name}{Query|(JSON|FormData)|Result} ` , where:
173+ They must also follow the following structure: ` REST{http_method}{type_name}{Query|(JSON|FormData)Body |Result} ` , where:
174174
175175- ` http_method ` is the PascalCase HTTP method name (for instance ` Get ` , ` Post ` , and so on)
176176- ` type_name ` is the actual name of the type it returns (for instance ` APIUser ` )
Original file line number Diff line number Diff line change @@ -162,15 +162,15 @@ normal name (for instance `UserFlags`).
162162#### ` rest `
163163
164164This folder holds all the types that are related to Discord's REST API. Just like [ ` payloads ` ] ( #payloads ) , it is split
165- into folders that have an ` index.ts ` file. from the structure in [ ` Discord's API Documentation ` ] ( https://discord.dev ) ,
165+ into folders that have an ` index.ts ` file, from the structure in [ ` Discord's API Documentation ` ] ( https://discord.dev ) ,
166166under the ` Resources ` category.
167167
168168:::info
169169
170170Types created here must start with the ` REST ` prefix (for instance ` RESTGetAPIUserResult ` ) unless they are objects or
171171enums (for instance ` Routes ` ).
172172
173- They must also follow the following structure: ` REST{http_method}{type_name}{Query|(JSON|FormData)|Result} ` , where:
173+ They must also follow the following structure: ` REST{http_method}{type_name}{Query|(JSON|FormData)Body |Result} ` , where:
174174
175175- ` http_method ` is the PascalCase HTTP method name (for instance ` Get ` , ` Post ` , and so on)
176176- ` type_name ` is the actual name of the type it returns (for instance ` APIUser ` )
Original file line number Diff line number Diff line change @@ -162,15 +162,15 @@ normal name (for instance `UserFlags`).
162162#### ` rest `
163163
164164This folder holds all the types that are related to Discord's REST API. Just like [ ` payloads ` ] ( #payloads ) , it is split
165- into folders that have an ` index.ts ` file. from the structure in [ ` Discord's API Documentation ` ] ( https://discord.dev ) ,
165+ into folders that have an ` index.ts ` file, from the structure in [ ` Discord's API Documentation ` ] ( https://discord.dev ) ,
166166under the ` Resources ` category.
167167
168168:::info
169169
170170Types created here must start with the ` REST ` prefix (for instance ` RESTGetAPIUserResult ` ) unless they are objects or
171171enums (for instance ` Routes ` ).
172172
173- They must also follow the following structure: ` REST{http_method}{type_name}{Query|(JSON|FormData)|Result} ` , where:
173+ They must also follow the following structure: ` REST{http_method}{type_name}{Query|(JSON|FormData)Body |Result} ` , where:
174174
175175- ` http_method ` is the PascalCase HTTP method name (for instance ` Get ` , ` Post ` , and so on)
176176- ` type_name ` is the actual name of the type it returns (for instance ` APIUser ` )
You can’t perform that action at this time.
0 commit comments