{"id":28677760,"url":"https://github.com/box/box-java-sdk-gen","last_synced_at":"2025-06-14T00:30:37.405Z","repository":{"id":275951942,"uuid":"856363113","full_name":"box/box-java-sdk-gen","owner":"box","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-06T11:08:46.000Z","size":2944,"stargazers_count":6,"open_issues_count":3,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-06T11:36:34.505Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/box.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-12T13:05:44.000Z","updated_at":"2025-06-06T11:08:37.000Z","dependencies_parsed_at":"2025-05-30T10:05:41.430Z","dependency_job_id":"939bacd1-a30c-47b5-b8c7-3e9aee686f2d","html_url":"https://github.com/box/box-java-sdk-gen","commit_stats":null,"previous_names":["box/box-java-sdk-gen"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/box/box-java-sdk-gen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/box%2Fbox-java-sdk-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/box%2Fbox-java-sdk-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/box%2Fbox-java-sdk-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/box%2Fbox-java-sdk-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/box","download_url":"https://codeload.github.com/box/box-java-sdk-gen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/box%2Fbox-java-sdk-gen/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259741970,"owners_count":22904582,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-14T00:30:35.266Z","updated_at":"2025-06-14T00:30:37.364Z","avatar_url":"https://github.com/box.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/box/sdks/blob/master/images/box-dev-logo.png\" alt= “box-dev-logo” width=\"30%\" height=\"50%\"\u003e\n\u003c/p\u003e\n\n# Box Java SDK Gen\n\n[![Project Status](http://opensource.box.com/badges/active.svg)](http://opensource.box.com/badges)\n![build](https://github.com/box/box-java-sdk-gen/actions/workflows/build.yml/badge.svg)\n![Maven Central Version](https://img.shields.io/maven-central/v/com.box/box-java-sdk-gen)\n![Platform](https://img.shields.io/badge/java-%3E%3D8-blue)\n[![Coverage](https://coveralls.io/repos/github/box/box-java-sdk-gen/badge.svg?branch=main)](https://coveralls.io/github/box/box-java-sdk-gen?branch=main)\n\nWe are excited to introduce the Beta Release of the latest generation of Box Java SDK Gen, designed to elevate the developer experience and streamline your integration with the Box Content Cloud.\n\nWith this SDK, you’ll have access to:\n\n1. Full API Support: The new generation of Box SDKs empowers developers with complete coverage of the Box API ecosystem. You can now access all the latest features and functionalities offered by Box, allowing you to build even more sophisticated and feature-rich applications.\n2. Rapid API Updates: Say goodbye to waiting for new Box APIs to be incorporated into the SDK. With our new auto-generation development approach, we can now add new Box APIs to the SDK at a much faster pace (in a matter of days). This means you can leverage the most up-to-date features in your applications without delay.\n3. Embedded Documentation: We understand that easy access to information is crucial for developers. With our new approach, we have included comprehensive documentation for all objects and parameters directly in the source code of the SDK. This means you no longer need to look up this information on the developer portal, saving you time and streamlining your development process.\n4. Enhanced Convenience Methods: Our commitment to enhancing your development experience continues with the introduction of convenience methods. These methods cover various aspects such as chunk uploads, classification, and much more.\n5. Seamless Start: The new SDKs integrate essential functionalities like authentication, automatic retries with exponential backoff, exception handling, request cancellation, and type checking, enabling you to focus solely on your application's business logic.\n\nEmbrace the new generation of Box SDKs and unlock the full potential of the Box Content Cloud.\n\n# Table of contents\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\n- [Box Java SDK Gen](#box-java-sdk-gen)\n- [Table of contents](#table-of-contents)\n- [Installing](#installing)\n- [Getting Started](#getting-started)\n- [Documentation](#documentation)\n- [Upgrades](#upgrades)\n- [Integration Tests](#integration-tests)\n  - [Running integration tests locally](#running-integration-tests-locally)\n    - [Create Platform Application](#create-platform-application)\n    - [Export configuration](#export-configuration)\n    - [Start integration tests](#start-integration-tests)\n- [3rd Party Libraries \\\u0026 Licenses](#3rd-party-libraries--licenses)\n- [Questions, Bugs, and Feature Requests?](#questions-bugs-and-feature-requests)\n- [Copyright and License](#copyright-and-license)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n# Installing\n\nTo generate a .jar file download the source code and run the following command:\n\n```console\n./gradlew build\n```\n\n.jar file will be generated in the build/libs directory.\n\nThe SDK is also available on [Maven Central Repository](https://mvnrepository.com/artifact/com.box/box-java-sdk-gen). To include the SDK in your project, add the following dependency to your `pom.xml` file:\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.box\u003c/groupId\u003e\n    \u003cartifactId\u003ebox-java-sdk-gen\u003c/artifactId\u003e\n    \u003cversion\u003eVERSION\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nTo include the SDK in your project using Gradle, add the following dependency to your `build.gradle` file:\n\n```gradle\nimplementation 'com.box:box-java-sdk-gen:VERSION'\n```\n\nWhere `VERSION` is the version of the SDK you want to use. You can find the latest version in the [Maven Central Repository](https://mvnrepository.com/artifact/com.box/box-java-sdk-gen).\n\n# Getting Started\n\nTo get started with the SDK, get a Developer Token from the Configuration page of your app in the [Box Developer\nConsole](https://app.box.com/developers/console). You can use this token to make test calls for your own Box account.\n\nThe SDK provides an `BoxDeveloperTokenAuth` class, which allows you to authenticate using your Developer Token.\nUse instance of `BoxDeveloperTokenAuth` to initialize `BoxClient` object.\nUsing `BoxClient` object you can access managers, which allow you to perform some operations on your Box account.\n\nThe example below demonstrates how to authenticate with Developer Token and print names of all items inside a root folder.\n\n```java\nBoxDeveloperTokenAuth auth = new BoxDeveloperTokenAuth(\"DEVELOPER_TOKEN\");\nBoxClient client = new BoxClient(auth);\nclient.folders.getFolderItems(\"0\").getEntries().forEach(item -\u003e {\n   System.out.println(item.toString());\n});\n```\n\n# Documentation\n\nBrowse the [docs](docs/README.md) or see [API Reference](https://developer.box.com/reference/) for more information.\n\n# Upgrades\n\nThe SDK is updated regularly to include new features, enhancements, and bug fixes. If you are upgrading from our legacy SDKs to this new generation SDKs is a straightforward process. Checkout the [migration guide](MIGRATION_GUIDE.md) and [changelog](CHANGELOG.md) for more information.\n\n# Integration Tests\n\n## Running integration tests locally\n\n### Create Platform Application\n\nTo run integration tests locally you will need a `Custom App` created in the [Box Developer\nConsole](https://app.box.com/developers/console) with `Server Authentication (with JWT)` selected as authentication method.\nOnce created you can edit properties of the application:\n\n- In section `App Access Level` select `App + Enterprise Access`. You can enable all `Application Scopes`.\n- In section `Advanced Features` enable `Make API calls using the as-user header` and `Generate user access tokens`.\n\nNow select `Authorization` and submit application to be reviewed by account admin.\n\n### Export configuration\n\n1. Select `Configuration` tab and in the bottom in the section `App Settings`\n   download your app configuration settings as JSON.\n2. Encode configuration file to Base64, e.g. using command: `base64 -i path_to_json_file`\n3. Set environment variable: `JWT_CONFIG_BASE_64` with base64 encoded jwt configuration file\n4. Set environment variable: `BOX_FILE_REQUEST_ID` with ID of file request already created in the user account, `BOX_EXTERNAL_USER_EMAIL` with email of free external user which not belongs to any enterprise.\n5. Set environment variable: `WORKFLOW_FOLDER_ID` with the ID of the Relay workflow that deletes the file that triggered the workflow. The workflow should have a manual start to be able to start it from the API.\n6. Set environment variable: `APP_ITEM_ASSOCIATION_FILE_ID` to the ID of the file with associated app item and `APP_ITEM_ASSOCIATION_FOLDER_ID` to the ID of the folder with associated app item.\n7. Set environment variable: `APP_ITEM_SHARED_LINK` to the shared link associated with app item.\n8. Set environment variable: `SLACK_AUTOMATION_USER_ID` to the ID of the user responsible for the Slack automation, `SLACK_ORG_ID` to the ID of the Slack organization and `SLACK_PARTNER_ITEM_ID` to the ID of the Slack partner item.\n\n### Start integration tests\n\nTo run integration tests locally, you can use the following command:\n\n```console\n./gradlew test --stacktrace\n```\n\n# 3rd Party Libraries \u0026 Licenses\n\nThe Java SDK Gen uses third-party libraries that are required for usage. Their licenses are listed below:\n\n1. [jackson-annotations v2.17.2](https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations/2.17.2)\n   Maven: `com.fasterxml.jackson.core:jackson-annotations:2.17.2`\n   Licence: [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)\n2. [jackson-core v2.17.2](https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core/2.17.2)\n   Maven: `com.fasterxml.jackson.core:jackson-core:2.17.2`\n   Licence: [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)\n3. [jackson-databind v2.17.2](https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind/2.17.2)\n   Maven: `com.fasterxml.jackson.core:jackson-databind:2.17.2`\n   Licence: [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)\n4. [okhttp v4.12.0](https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp/4.12.0)\n   Maven: `com.squareup.okhttp3:okhttp:4.12.0`\n   Licence: [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)\n5. [okio v3.5.0](https://mvnrepository.com/artifact/com.squareup.okio/okio/3.5.0)\n   Maven: `com.squareup.okio:okio:3.5.0`\n   Licence: [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)\n6. [jose4j v0.9.6](https://mvnrepository.com/artifact/org.bitbucket.b_c/jose4j/0.9.6)\n   Maven: `org.bitbucket.b_c:jose4j:0.9.6`\n   Licence: [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)\n7. [bcprov-jdk18on v1.78.1](https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk18on/1.78.1)\n   Maven: `org.bouncycastle:bcprov-jdk18on:1.78.1`\n   Licence: [MIT](https://opensource.org/licenses/MIT)\n8. [bcpkix-jdk18on v1.78.1](https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk18on/1.78.1)\n   Maven: `org.bouncycastle:bcpkix-jdk18on:1.78.1`\n   Licence: [MIT](https://opensource.org/licenses/MIT)\n\nThe following libraries are required for running tests:\n\n1. [junit-jupiter-api v5.10.0](https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api/5.10.0)\n   Maven: `org.junit.jupiter:junit-jupiter-api:5.10.0`\n   Licence: [EPL 2.0](https://www.eclipse.org/legal/epl-2.0/)\n2. [junit-jupiter-engine v5.10.0](https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine/5.10.0)\n   Maven: `org.junit.jupiter:junit-jupiter-engine:5.10.0`\n   Licence: [EPL 2.0](https://www.eclipse.org/legal/epl-2.0/)\n\n# Questions, Bugs, and Feature Requests?\n\nNeed to contact us directly? [Browse the issues\ntickets](https://github.com/box/box-java-sdk-gen/issues)! Or, if that\ndoesn't work, [file a new\none](https://github.com/box/box-java-sdk-gen/issues/new) and we will get\nback to you. If you have general questions about the Box API, you can\npost to the [Box Developer Forum](https://forum.box.com/).\n\n# Copyright and License\n\nCopyright 2023 Box, Inc. All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbox%2Fbox-java-sdk-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbox%2Fbox-java-sdk-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbox%2Fbox-java-sdk-gen/lists"}