Neucron
Search
K
Comment on page

App

Create App

Overview

This documentation provides detailed information about the /develop/app/create endpoint, which allows you to create a new app for a user. To use this endpoint, you need to provide the necessary headers and a JSON request body containing the app's name.

Endpoint Details

  • HTTP Method: POST
  • Security: Bearer Token Authentication

Request Headers

The following headers are required for authentication:
  • X-Neucron-App-ID: The app's ID.
  • X-Neucron-Key-ID: The key ID.
  • X-Neucron-Key-Secret: The key secret.
  • X-Neucron-User-ID: The user's ID.

Request Body

The request body should be a JSON object with the following properties:
  • app_name (string, required): The name of the app to be created.
Example Request Body:
{
"app_name": "My Awesome App"
}

Response

The endpoint returns the following responses:
  • 200 OK: The app was successfully created.
    Response Body (JSON):
    {
    "data": {
    "app": {
    // App details, reference the #/definitions/models.Apps schema
    },
    "keys": {
    // Keys details, reference the #/definitions/models.Keys schema
    },
    "walletID": "string"
    },
    "status_code": 200
    }
  • 400 Bad Request: An error occurred due to a client request issue.
    Response Body (JSON):
    {
    // Error details, reference the #/definitions/errorhandler.ClientError schema
    }
  • 500 Internal Server Error: An internal server error occurred.
    Response Body (JSON):
    {
    // Error details, reference the #/definitions/errorhandler.ClientError schema
    }

Example Usage

Request:
POST /develop/app/create
Host: example.com
Content-Type: application/json
X-Neucron-App-ID: YourAppID
X-Neucron-Key-ID: YourKeyID
X-Neucron-Key-Secret: YourKeySecret
X-Neucron-User-ID: UserID
{
"app_name": "My Awesome App"
}
Response:
HTTP/1.1 200 OK
Content-Type: application/json
{
"data": {
"app": {
// App details
},
"keys": {
// Keys details
},
"walletID": "string"
},
"status_code": 200
}

Definitions

models.Apps

This is a reference to the schema defining the properties of the app. Please refer to the schema documentation for specific details.

models.Keys

This is a reference to the schema defining the properties of the keys. Please refer to the schema documentation for specific details.

errorhandler.ClientError

This is a reference to the schema defining client error responses. Please refer to the schema documentation for specific details.

Tags

  • App: Use this tag to categorize operations related to app management.

Summary

The /develop/app/create endpoint allows you to create a new app for a user. Make sure to provide the required headers and a valid JSON request body to create an app successfully. If there are any issues, the endpoint will return appropriate error responses for further diagnosis.
If you need more information about specific schemas or have any questions, please refer to the corresponding documentation or contact the API support team.
Oops, something is missing.We could not find the original source to display this content.

Get App Details

Overview

This documentation provides detailed information about the /develop/app/appdetails endpoint, which allows you to retrieve details for an app using its AppID. To use this endpoint, you need to provide a valid AppID as a query parameter.

Endpoint Details

  • HTTP Method: GET
  • Security: Bearer Token Authentication

Request Parameters

The following parameter is required for this endpoint:
  • appID (string, required): The unique identifier of the app for which you want to retrieve details.

Response

The endpoint returns the following responses:
  • 200 OK: The app details were successfully retrieved.
    Response Body (JSON):
    {
    "data": {
    "app": {
    // App details, reference the #/definitions/models.AppDetails schema
    }
    },
    "status_code": 200
    }
  • 400 Bad Request: An error occurred due to a client request issue.
    Response Body (JSON):
    {
    // Error details, reference the #/definitions/errorhandler.ClientError schema
    }
  • 500 Internal Server Error: An internal server error occurred.
    Response Body (JSON):
    {
    // Error details, reference the #/definitions/errorhandler.ClientError schema
    }

Example Usage

Request:
GET /develop/app/appdetails?appID=YourAppID
Host: example.com
Authorization: Bearer YourAccessToken
Response:
HTTP/1.1 200 OK
Content-Type: application/json
{
"data": {
"app": {
// App details
}
},
"status_code": 200
}

Definitions

models.AppDetails

This is a reference to the schema defining the properties of the app details. Please refer to the schema documentation for specific details.

errorhandler.ClientError

This is a reference to the schema defining client error responses. Please refer to the schema documentation for specific details.

Tags

  • App: Use this tag to categorize operations related to app management.

Summary

The /develop/app/appdetails endpoint allows you to retrieve detailed information about an app by providing its unique AppID as a query parameter. Ensure that you include a valid AppID in your request to successfully fetch app details. If there are any issues, the endpoint will return appropriate error responses for further diagnosis.
If you need more information about specific schemas or have any questions, please refer to the corresponding documentation or contact the API support team.
Oops, something is missing.We could not find the original source to display this content.

List of Apps Owned by User

Overview

This documentation provides detailed information about the /develop/app/list endpoint, which allows you to retrieve a list of apps owned by a user. To use this endpoint, you need to make a GET request with appropriate authentication.

Endpoint Details

  • HTTP Method: GET
  • Security: Bearer Token Authentication

Request

No request parameters are required for this endpoint.

Response

The endpoint returns the following responses:
  • 200 OK: The list of apps owned by the user was successfully retrieved.
    Response Body (JSON):
    {
    "data": {
    "list": [
    {
    // App details, reference the #/definitions/models.Apps schema
    },
    {
    // App details for another app (if available)
    }
    ]
    },
    "status_code": 200
    }
  • 400 Bad Request: An error occurred due to a client request issue.
    Response Body (JSON):
    {
    // Error details, reference the #/definitions/errorhandler.ClientError schema
    }
  • 500 Internal Server Error: An internal server error occurred.
    Response Body (JSON):
    {
    // Error details, reference the #/definitions/errorhandler.ClientError schema
    }

Example Usage

Request:
GET /develop/app/list
Host: example.com
Authorization: Bearer YourAccessToken
Response:
HTTP/1.1 200 OK
Content-Type: application/json
{
"data": {
"list": [
{
// App details
},
{
// Another app's details (if available)
}
]
},
"status_code": 200
}

Definitions

models.Apps

This is a reference to the schema defining the properties of the app. Please refer to the schema documentation for specific details.

errorhandler.ClientError

This is a reference to the schema defining client error responses. Please refer to the schema documentation for specific details.

Tags

  • App: Use this tag to categorize operations related to app management.

Summary

The /develop/app/list endpoint allows you to retrieve a list of apps owned by a user. Simply make a GET request with appropriate authentication, and you will receive a list of app details. If there are any issues, the endpoint will return appropriate error responses for further diagnosis.
If you need more information about specific schemas or have any questions, please refer to the corresponding documentation or contact the API support team.
Oops, something is missing.We could not find the original source to display this content.