Getting Started with RAPS CLI¶
RAPS (Rust APS CLI) is a command-line interface for Autodesk Platform Services that makes it easy to interact with APS APIs from your terminal.
Prerequisites¶
Before you begin, ensure you have:
- APS Account: An account with Autodesk Platform Services
- Application Credentials: Client ID and Client Secret from the APS Developer Portal
- Operating System: Windows, macOS, or Linux
What You'll Need¶
APS Application Credentials¶
- Go to APS Developer Portal
- Create a new application or select an existing one
- Note your Client ID and Client Secret
- Configure callback URL (for 3-legged OAuth):
http://localhost:8080/callback
Optional: Design Automation Nickname¶
If you plan to use Design Automation features, you'll need: - A nickname for your Design Automation app (must be unique across APS)
Installation Methods¶
RAPS can be installed in several ways:
- From Pre-built Binaries - Quickest method
- From crates.io - Using Cargo package manager
- From Source - Build from GitHub repository
Next Steps¶
- Install RAPS - Choose your installation method
- Configure Credentials - Set up environment variables
- Test Authentication - Verify your setup
- Start Using Commands - Begin working with APS
First Command¶
After installation and configuration, test your setup:
This command tests your 2-legged OAuth credentials. If successful, you're ready to start using RAPS!
Common Workflows¶
Upload and Translate a Model¶
# 1. Create a bucket
raps bucket create
# 2. Upload a file
raps object upload <bucket-name> model.dwg
# 3. Translate to SVF2
raps translate start <urn> --format svf2
# 4. Check status
raps translate status <urn> --wait
Browse BIM 360/ACC Projects¶
# 1. Login with 3-legged OAuth
raps auth login
# 2. List hubs
raps hub list
# 3. List projects
raps project list <hub-id>
# 4. Browse folders
raps folder list <project-id> <folder-id>
For more examples, see the Examples page.