# Managed API for Trello
Managed API for Trello is an API Client for Trello by [Adaptavist](https://www.adaptavist.com/) primarily designed for the use in [ScriptRunner Connect](https://scriptrunnerconnect.com). You can read more about Managed APIs [here](https://docs.adaptavist.com/src/managed-apis).

This is a runtime agnostic version of the Managed API (with `core` suffix) that makes it easy to port it to any runtime you may want to use this Managed API on.

# Platform specific ports
- [ScriptRunner Connect](https://www.npmjs.com/package/@managed-api/trello-sr-connect)

# Supported API calls
- [fetch](https://docs.adaptavist.com/src/managed-apis/managed-api-abstractions)
- Board
    - [createBoard](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-post)
    - [deleteBoard](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-delete)
    - [getBoard](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-get)
    - [getLabels](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-labels-get)
    - [getLists](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-lists-get)
    - [getMemberships](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-memberships-get)
    - [updateBoard](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-put)
    - Member
        - [addMember](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-members-idmember-put)
        - [getMembers](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-members-get)
        - [inviteMemberByEmail](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-members-put)
        - [removeMember](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-members-idmember-delete)
- Card
    - [addLabel](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-idlabels-post)
    - [addMember](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-idmembers-post)
    - [addMemberVote](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-membersvoted-post)
    - [createCard](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-post)
    - [createLabel](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-labels-post)
    - [deleteCard](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-delete)
    - [getActions](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-actions-get)
    - [getBoardForCard](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-board-get)
    - [getCard](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-get)
    - [getField](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-field-get)
    - [getList](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-list-get)
    - [getMembers](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-members-get)
    - [getMembersWhoVoted](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-membersvoted-get)
    - [markNotificationsAsRead](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-markassociatednotificationsread-post)
    - [removeLabel](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-idlabels-idlabel-delete)
    - [removeMember](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-idmembers-idmember-delete)
    - [removeMemberVote](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-membersvoted-idmember-delete)
    - [updateCard](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-put)
    - Attachment
        - [createAttachment](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-attachments-post)
        - [deleteAttachment](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-attachments-idattachment-delete)
        - [getAttachment](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-attachments-idattachment-get)
        - [getAttachments](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-attachments-get)
    - Checklist
        - [createChecklist](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-checklists-post)
        - [deleteCheckItem](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-checkitem-idcheckitem-delete)
        - [deleteChecklist](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-checklists-idchecklist-delete)
        - [getCheckItem](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-checkitem-idcheckitem-get)
        - [getCheckItems](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-checkitemstates-get)
        - [getChecklists](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-checklists-get)
        - [updateCheckItem](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-checkitem-idcheckitem-put)
        - [updateCheckItemOnChecklist](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-idcard-checklist-idchecklist-checkitem-idcheckitem-put)
    - Comment
        - [addComment](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-actions-comments-post)
        - [deleteComment](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-actions-idaction-comments-delete)
        - [updateComment](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-actions-idaction-comments-put)
    - CustomField
        - [getCustomFieldItems](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-customfielditems-get)
        - [updateCustomFieldItem](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-idcard-customfield-idcustomfield-item-put)
    - Sticker
        - [addSticker](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-stickers-post)
        - [deleteSticker](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-stickers-idsticker-delete)
        - [getSticker](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-stickers-idsticker-get)
        - [getStickers](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-stickers-get)
        - [updateSticker](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-stickers-idsticker-put)
- CustomField
    - [createCustomField](https://developer.atlassian.com/cloud/trello/rest/api-group-customfields/#api-customfields-post)
    - [getCustomField](https://developer.atlassian.com/cloud/trello/rest/api-group-customfields/#api-customfields-id-get)
- Member
    - [getMember](https://developer.atlassian.com/cloud/trello/rest/api-group-members/#api-members-id-get)
- Webhook
    - [createWebhook](https://developer.atlassian.com/cloud/trello/rest/api-group-webhooks/#api-webhooks-post)
    - [deleteWebhook](https://developer.atlassian.com/cloud/trello/rest/api-group-webhooks/#api-webhooks-id-delete)
    - [getField](https://developer.atlassian.com/cloud/trello/rest/api-group-webhooks/#api-webhooks-id-field-get)
    - [getWebhook](https://developer.atlassian.com/cloud/trello/rest/api-group-webhooks/#api-webhooks-id-get)
    - [updateWebhook](https://developer.atlassian.com/cloud/trello/rest/api-group-webhooks/#api-webhooks-id-put)


# Porting to other runtimes
While the primary reason for creating Managed APIs was to use them in [ScriptRunner Connect](https://scriptrunnerconnect.com) runtime, then you can easily port them to any runtime of your choosing.

You can do so by extending the `*Core` Managed API class where you'll be asked to provide implementation for `getPlatformImplementation` function. In this implementation you have to specify how to perform buffer encoding/decoding operations and how to perform HTTP calls:
```typescript
{
    buffer: {
        encode(input: string): ArrayBuffer;
        decode(input: ArrayBuffer): string;
    },
    performHttpCall(request: Request): Promise<Response>
}
```

Here is an example how to create a [Node](https://nodejs.org/en/) port of the Managed API:
```typescript
import { TrelloApiCore } from "@managed-api/trello-core";
import { PlatformImplementation, Request, Response, Headers } from "@managed-api/commons-core";
import fetch from "node-fetch";

export class TrelloApi extends TrelloApiCore {
    constructor(private baseUrl: string, private authToken: string) {
        super();
    }

    protected getPlatformImplementation(): PlatformImplementation {
        return {
            buffer: {
                encode: (input) => Buffer.from(input, 'utf-8'),
                decode: (input) => Buffer.from(input).toString('utf-8')
            },
            performHttpCall: (request) => this.performHttpCall(request)
        };
    }
    
    private async performHttpCall(request: Request): Promise<Response> {
        const requestUrl = `${this.baseUrl}${request.url}`; // Substitute base URL
        request.headers.set('Authorization', `Basic ${this.authToken}`); // Substitute auth token
        const response = await fetch(requestUrl, {
            method: request.method,
            headers: request.headers as any,
            body: request.method.toLowerCase() !== 'get' ? Buffer.from((await request.arrayBuffer()) ?? new ArrayBuffer(0)) : undefined
        });

        const apiHeaders = new Headers();
        response.headers.forEach((value, key) => apiHeaders.append(key, value));

        const body = await response.arrayBuffer();

        return super.buildResponse(response.url, response.status, response.statusText, apiHeaders, body);
    }
}
```

Please note that the authentication handling details may not be accurate and serve as an example. If you wish to use these Managed APIs without having to concern yourself how to deal with and secure authentication details when working with APIs, then feel free to evaluate [ScriptRunner Connect](https://scriptrunnerconnect.com) platform.

# Contact
At this time Managed APIs are unlicensed and close sourced, but feel free to drop an email to [eknoll@adaptavist.com](mailto://eknoll@adaptavist.com) for ideas, suggestions and improvements.

 # Changelog
# 2.1.0

- Removed non-empty body from HEAD requests.

# 2.0.0

- # Breaking change: URL and query string parameters are now URL encoded, meaning if you encoded them explicitly before you have to remove your own encoding, otherwise they will get double encoded.

# 1.7.0

- # Added `value.text` field in response of the following method:
    - [getCustomFieldItems](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-customfielditems-get) that can be used as `Card.CustomField.getCustomFieldItems` or `All.getCustomFieldItemsForCard`.

# 1.6.0

- # Corrected `idLabels` field type in request of the following method:
    - [updateCard](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-get) that can be used as `Card.updateCard` or `All.updateCard`.

# 1.5.0

- # Added support for the following Member method:
    - [getMember](https://developer.atlassian.com/cloud/trello/rest/api-group-members/#api-members-id-get) that can be used as `Member.getMember` or `All.getMember`.
- # Added support for the following Board method:
    - [getLabels](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-labels-get) that can be used as `Board.getLabels` or `All.getLabelsForBoard`.
- # Added support for the following Board method:
    - [getLists](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-lists-get) that can be used as `Board.getLists` or `All.getListsForBoard`.
- # Corrected `labels` field type in response of the following method:
    - [getCard](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-get) that can be used as `Card.getCard` or `All.getCard`.
- # Corrected `idMembers` field type in request of the following method:
    - [updateCard](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-get) that can be used as `Card.updateCard` or `All.updateCard`.

# 1.4.0

- # Added support for the following CustomField method:
    - [createCustomField](https://developer.atlassian.com/cloud/trello/rest/api-group-customfields/#api-customfields-post) that can be used as `CustomField.createCustomField` or `All.createCustomField`.
    - [getCustomField](https://developer.atlassian.com/cloud/trello/rest/api-group-customfields/#api-customfields-id-get) that can be used as `CustomField.getCustomField` or `All.getCustomField`.

# 1.2.0

- # Added support for the following Webhook method:
    - [createWebhook](https://developer.atlassian.com/cloud/trello/rest/api-group-webhooks/#api-webhooks-post) that can be used as `Webhook.createWebhook` or `All.createWebhook`.
    - [getWebhook](https://developer.atlassian.com/cloud/trello/rest/api-group-webhooks/#api-webhooks-id-get) that can be used as `Webhook.getWebhook` or `All.getWebhook`.
    - [updateWebhook](https://developer.atlassian.com/cloud/trello/rest/api-group-webhooks/#api-webhooks-id-put) that can be used as `Webhook.updateWebhook` or `All.updateWebhook`.
    - [deleteWebhook](https://developer.atlassian.com/cloud/trello/rest/api-group-webhooks/#api-webhooks-id-delete) that can be used as `Webhook.deleteWebhook` or `All.deleteWebhook`.
    - [getField](https://developer.atlassian.com/cloud/trello/rest/api-group-webhooks/#api-webhooks-id-field-get) that can be used as `Webhook.getField` or `All.getWebhookField`.

# 0.4.0

- # Added support for the following Board method:
    - [createBoard](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-post) that can be used as `Board.createBoard` or `All.createBoard`.
    - [deleteBoard](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-delete) that can be used as `Board.deleteBoard` or `All.deleteBoard`.
    - [getBoard](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-get) that can be used as `Board.getBoard` or `All.getBoard`.
    - [getMemberships](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-memberships-get) that can be used as `Board.getMemberships` or `All.getMembershipsForBoard`.
    - [updateBoard](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-put) that can be used as `Board.updateBoard` or `All.updateBoard`.

- # Added support for the following Board.Member method:
    - [addMember](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-members-idmember-put) that can be used as `Board.Member.addMember` or `All.addMemberToBoard`.
    - [getMembers](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-members-get) that can be used as `Board.Member.getMembers` or `All.getMembersForBoard`.
    - [inviteMemberByEmail](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-members-put) that can be used as `Board.Member.inviteMemberByEmail` or `All.inviteMemberToBoardByEmail`.
    - [removeMember](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-members-idmember-delete) that can be used as `Board.Member.removeMember` or `All.removeMemberFromBoard`.

- # Added support for the following Card method:
    - [addLabel](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-idlabels-post) that can be used as `Card.addLabel` or `All.addLabelForCard`.
    - [addMember](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-idmembers-post) that can be used as `Card.addLabel` or `All.addLabelForCard`.
    - [addMemberVote](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-membersvoted-post) that can be used as `Card.addMemberVote` or `All.addMemberVoteForCard`.
    - [createCard](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-post) that can be used as `Card.createCard` or `All.createCard`.
    - [createLabel](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-labels-post) that can be used as `Card.createLabel` or `All.createLabelForCard`.
    - [deleteCard](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-delete) that can be used as `Card.deleteCard` or `All.deleteCard`.
    - [getActions](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-actions-get) that can be used as `Card.getActions` or `All.getActionsForCard`.
    - [getBoardForCard](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-board-get) that can be used as `Card.getBoardForCard` or `All.getBoardForCard`.
    - [getCard](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-get) that can be used as `Card.getCard` or `All.getCardForAction`.
    - [getField](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-field-get) that can be used as `Card.getField` or `All.getFieldForBoard`.
    - [getList](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-list-get) that can be used as `Card.getList` or `All.getList`.
    - [getMembers](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-members-get) that can be used as `Card.getMembers` or `All.getMembersForCard`.
    - [getMembersWhoVoted](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-membersvoted-get) that can be used as `Card.getMembersWhoVoted` or `All.getMembersWhoVotedForCard`.
    - [markNotificationsAsRead](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-markassociatednotificationsread-post) that can be used as `Card.markNotificationsAsRead` or `All.markNotificationsAsReadForCard`.
    - [removeLabel](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-idlabels-idlabel-delete) that can be used as `Card.removeLabel` or `All.removeLabelForCard`.
    - [removeMember](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-idmembers-idmember-delete) that can be used as `Card.removeMember` or `All.removeMemberFromCard`.
    - [removeMemberVote](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-membersvoted-idmember-delete) that can be used as `Card.removeMemberVote` or `All.removeMemberVote`.
    - [updateCard](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-put) that can be used as `Card.updateCard` or `All.updateCard`.

- # Added support for the following Card.Attachment method:
    - [createAttachment](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-attachments-post) that can be used as `Card.Attachment.createAttachment` or `All.createAttachmentForCard`.
    - [deleteAttachment](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-attachments-idattachment-delete) that can be used as `Card.Attachment.deleteAttachment` or `All.deleteAttachmentForCard`.
    - [getAttachment](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-attachments-idattachment-get) that can be used as `Card.Attachment.getAttachment` or `All.getAttachmentForCard`.
    - [getAttachments](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-attachments-get) that can be used as `Card.Attachment.getAttachments` or `All.getAttachmentsForCard`.

- # Added support for the following Card.Checklist method:
    - [createChecklist](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-checklists-post) that can be used as `Card.Checklist.createChecklist` or `All.createChecklistForCard`.
    - [deleteCheckItem](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-checkitem-idcheckitem-delete) that can be used as `Card.Checklist.deleteCheckItem` or `All.deleteCheckItemForCard`.
    - [deleteChecklist](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-checklists-idchecklist-delete) that can be used as `Card.Checklist.deleteChecklist` or `All.deleteChecklist`.
    - [getCheckItem](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-checkitem-idcheckitem-get) that can be used as `Card.Checklist.getCheckItem` or `All.getCheckItemForCard`.
    - [getCheckItems](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-checkitemstates-get) that can be used as `Card.Checklist.getCheckItem` or `All.getCheckItemForCard`.
    - [getChecklists](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-checklists-get) that can be used as `Card.Checklist.getChecklists` or `All.getChecklistsForCard`.
    - [updateCheckItem](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-checkitem-idcheckitem-put) that can be used as `Card.Checklist.updateCheckItem` or `All.updateCheckItemForCard`.
    - [updateCheckItemOnChecklist](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-idcard-checklist-idchecklist-checkitem-idcheckitem-put) that can be used as `Card.Checklist.updateCheckItemOnChecklist` or `All.updateCheckItemOnChecklist`.

- # Added support for the following Card.Comment method:
    - [addComment](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-actions-comments-post) that can be used as `Card.Comment.addComment` or `All.addCommentForCard`.
    - [deleteComment](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-actions-idaction-comments-delete) that can be used as `Card.Comment.deleteComment` or `All.deleteCommentForCard`.
    - [updateComment](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-actions-idaction-comments-put) that can be used as `Card.Comment.updateComment` or `All.updateCommentForCard`.

- # Added support for the following Card.CustomField method:
    - [getCustomFieldItems](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-customfielditems-get) that can be used as `Card.CustomField.getCustomFieldItems` or `All.getCustomFieldItemsForCard`.
    - [updateCustomFieldItem](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-idcard-customfield-idcustomfield-item-put) that can be used as `Card.CustomField.updateCustomFieldItem` or `All.updateCustomFieldItemForCard`.

- # Added support for the following Card.Sticker method:
    - [addSticker](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-stickers-post) that can be used as `Card.Sticker.addSticker` or `All.addStickerForCard`.
    - [deleteSticker](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-stickers-idsticker-delete) that can be used as `Card.Sticker.deleteSticker` or `All.deleteStickerForCard`.
    - [getSticker](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-stickers-idsticker-get) that can be used as `Card.Sticker.getSticker` or `All.getStickerForCard`.
    - [getStickers](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-stickers-get) that can be used as `Card.Sticker.getStickers` or `All.getStickersForCard`.
    - [updateSticker](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-stickers-idsticker-put) that can be used as `Card.Sticker.updateSticker` or `All.updateStickerForCard`.

Copyright Adaptavist 2025 (c) All rights reserved