packages/api-client/SpaceApplyJoiningSpaceApiApi.md
All URIs are relative to http://backend/api/v1
| Method | HTTP request | Description |
|---|---|---|
| apply | POST /space/apply/join | Applying to join the space |
| process | POST /space/apply/process | Process joining application |
ResponseDataVoid apply(spaceJoinApplyRo)
import { } from '';
import * as fs from 'fs';
const configuration = .createConfiguration();
const apiInstance = new .SpaceApplyJoiningSpaceApiApi(configuration);
let body:.SpaceApplyJoiningSpaceApiApiApplyRequest = {
// SpaceJoinApplyRo
spaceJoinApplyRo: {
spaceId: "spczdmQDfBAn5",
},
};
apiInstance.apply(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
| Name | Type | Description | Notes |
|---|---|---|---|
| spaceJoinApplyRo | SpaceJoinApplyRo |
ResponseDataVoid
No authorization required
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDataVoid process(spaceJoinProcessRo)
import { } from '';
import * as fs from 'fs';
const configuration = .createConfiguration();
const apiInstance = new .SpaceApplyJoiningSpaceApiApi(configuration);
let body:.SpaceApplyJoiningSpaceApiApiProcessRequest = {
// SpaceJoinProcessRo
spaceJoinProcessRo: {
notifyId: 761263712638,
agree: true,
},
};
apiInstance.process(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
| Name | Type | Description | Notes |
|---|---|---|---|
| spaceJoinProcessRo | SpaceJoinProcessRo |
ResponseDataVoid
No authorization required
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]