/otheritem/{otherItemId} v1.0.0
Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
Base URLs:
Other Items
getOtherItemsId
Code samples
const headers = {
Accept: "application/json",
};
fetch("https://goldleaf.app/api/v1/otheritem/{otherItemId}", {
method: "GET",
headers: headers,
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
GET /otheritem/{otherItemId}
Gets an other item (e.g. a custom item)
Retrieves a specific hose by ID.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| otherItemId | path | string(mongo-id) | true | The MongoDB ID of the other item. |
Example responses
500 Response
{
"type": "string"
}
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | An other item | None |
| 500 | Internal Server Error | none | string |
