slackapi / slackapi/java-slack-sdk

Add blocks and blocksAsString to filesUploadV2

Open
#1,470 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triage-skip bug enhancement project:slack-api-client
Dominant language
Java
Stars
602
Forks
232
Avg merge
4d 9h
Merged PRs (30d)
7

Description

In the API document for files.completeUploadExternal the field blocks is accepted but it cannot be added in the FilesUploadV2Request in the current slack-api-client.

I have done some changes in my fork

Category (place an x in each of the [ ])
  • bolt (Bolt for Java)
  • bolt-{sub modules} (Bolt for Java - optional modules)
  • slack-api-client (Slack API Clients)
  • slack-api-model (Slack API Data Models)
  • slack-api-*-kotlin-extension (Kotlin Extensions for Slack API Clients)
  • slack-app-backend (The primitive layer of Bolt for Java)
Requirements

Please make sure if this topic is specific to this SDK. For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you agree to those rules.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with FilesUploadV2Request in the slack-api-client module and compare its fields with the files.completeUploadExternal API documentation. Review the changes in the linked fork commit for the intended shape, then verify that both blocks and blocksAsString can be supplied by the request and are represented correctly in the client.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.