Get Registered Item Info

 

Retrieves a list of all or specified virtual items registered on the Mobage platform in Mobage Developers.
 

How to use Mobage Bank API
For more details on how to use the Mobage Bank API, please refer to the following pages.
ngCore SDK | Native SDK | Unity SDK

URI Fragment

/bank/inventory/@app
/bank/inventory/@app/{-list|,|itemId}

Supported Signing Methods

OAuth2 Authorization

Please refer here for the details of authentication flow and here for how to sign request to generate the Authorization header.

HTTP Method

GET

Request Header

The Authorization header is necessary for this call to succeed. Use "Authorization: bearer oauth2_token" as shown in below examples for this API.

URL Query Parameters

Parameter Name

Type

Description

Required

fileds

Array

A list of fields to return.

No

format

String

Currently only "json" can be used.

No

count

Number

Integer from 1-1000. Default is 50.

No

startIndex

Number

An integer starting from 1.

No

Request Body

None.

Response Status Code

HTTP Status Code

HTTP Status Message

Meaning

200

OK

Data successfully acquired

400

Bad Request

Corrupt request data on the client side

401

Unauthorized

Authorization error

403

Forbidden

The resource exists, but access is not possible due to a reason other than an authorization error.

404

Not Found

The resource does not exist.

500

Internal Server Error

An error on the API server side

503

Service Unavailable

The API cannot be used temporarily

Response Body

  • A single virtual item with the following parameters, or a collection of items.
  • Content-Type: application/json; charset=utf-8

Parameter Name

Type

Description

id

String

A unique item identifier. 64-characters or less. Valid values are a-z, A-Z, 0-9 and an underline (_).

name

String

The item name.

price

Number

The item price in virtual currency.

description

String

The item description.

imageUrl

String

The item image URL.

Example Request & Response

Retrieving all items
Base String
HTTP Request
HTTP Response

 

Retrieving specified items with query parameters
Base String
HTTP Request
HTTP Response

PREVIOUS

Get Transaction

NEXT

Social API