Skip to main content
telnyx-storage-ruby Manage cloud storage buckets and objects using the S3-compatible Telnyx Storage API. This skill provides Ruby SDK examples.
Zur Installation springen Skills Marktplatz Entdecken und erkunden Sie KI-Skills, die von der Community erstellt wurden.
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Prompt kopierenPrompt-Details anzeigen Ein direkter Befehl überspringt den Prüf-Prompt. Prüfen Sie die Quelle, bevor Sie ihn ausführen.
npx skills add https://github.com/team-telnyx/telnyx-toolkit --skill telnyx-storage-rubyDer Befehl bleibt in einer Zeile. Scrollen Sie horizontal, um ihn vor dem Kopieren vollständig zu prüfen.
Sie bevorzugen eine lokale Kopie? Laden Sie die Dateien herunter, die SkillsMP derzeit vorliegen.
ZIP herunterladen Herunterladen... Mehr aus diesem Repository Complete Telnyx toolkit — ready-to-use tools (STT, TTS, RAG, Networking, 10DLC) plus SDK documentation for JavaScript, Python, Go, Java, and Ruby.
Automated Telnyx bot account signup via challenge-response
Track agent activities using the Telnyx AI Missions API. Use this skill when executing multi-step tasks that should be logged and tracked. Supports creating voice/SMS agents, scheduling calls, and retrieving conversation insights. Use when tasks involve calling people, sending SMS, or any substantial tracked work.
SOC
Basierend auf der SOC-Berufsklassifikation
name telnyx-storage-ruby description Manage cloud storage buckets and objects using the S3-compatible Telnyx Storage API. This skill provides Ruby SDK examples. metadata {"author":"telnyx","product":"storage","language":"ruby","generated_by":"telnyx-ext-skills-generator"}
Telnyx Storage - Ruby
Installation
gem install telnyx
Setup
require "telnyx"
client = Telnyx::Client .new(
api_key: ENV ["TELNYX_API_KEY" ],
)
All examples below assume client is already initialized as shown above.
Create Presigned Object URL
Returns a timed and authenticated URL to download (GET) or upload (PUT) an object.
POST /storage/buckets/{bucketName}/{objectName}/presigned_url
response = client.storage.buckets.create_presigned_url("" , bucket_name: "" )
puts(response)
Get Bucket SSL Certificate
Returns the stored certificate detail of a bucket, if applicable.
GET /storage/buckets/{bucketName}/ssl_certificate
ssl_certificate = client.storage.buckets.ssl_certificate.retrieve( )
puts(ssl_certificate)
""
Add SSL Certificate Uploads an SSL certificate and its matching secret so that you can use Telnyx's storage as your CDN.
PUT /storage/buckets/{bucketName}/ssl_certificate
ssl_certificate = client.storage.buckets.ssl_certificate.create("" )
puts(ssl_certificate)
Remove SSL Certificate Deletes an SSL certificate and its matching secret.
DELETE /storage/buckets/{bucketName}/ssl_certificate
ssl_certificate = client.storage.buckets.ssl_certificate.delete("" )
puts(ssl_certificate)
Get API Usage Returns the detail on API usage on a bucket of a particular time period, group by method category.
GET /storage/buckets/{bucketName}/usage/api
response = client.storage.buckets.usage.get_api_usage(
"" ,
filter: {end_time: "2019-12-27T18:11:19.117Z" , start_time: "2019-12-27T18:11:19.117Z" }
)
puts(response)
Get Bucket Usage Returns the amount of storage space and number of files a bucket takes up.
GET /storage/buckets/{bucketName}/usage/storage
response = client.storage.buckets.usage.get_bucket_usage("" )
puts(response)
List Migration Source coverage GET /storage/migration_source_coverage
response = client.storage.list_migration_source_coverage
puts(response)
List all Migration Sources GET /storage/migration_sources
migration_sources = client.storage.migration_sources.list
puts(migration_sources)
Create a Migration Source Create a source from which data can be migrated from.
POST /storage/migration_sources — Required: provider, provider_auth, bucket_name
migration_source = client.storage.migration_sources.create(bucket_name: "bucket_name" , provider: :aws , provider_auth: {})
puts(migration_source)
Get a Migration Source GET /storage/migration_sources/{id}
migration_source = client.storage.migration_sources.retrieve("" )
puts(migration_source)
Delete a Migration Source DELETE /storage/migration_sources/{id}
migration_source = client.storage.migration_sources.delete("" )
puts(migration_source)
List all Migrations migrations = client.storage.migrations.list
puts(migrations)
Create a Migration Initiate a migration of data from an external provider into Telnyx Cloud Storage.
POST /storage/migrations — Required: source_id, target_bucket_name, target_region
migration = client.storage.migrations.create(
source_id: "source_id" ,
target_bucket_name: "target_bucket_name" ,
target_region: "target_region"
)
puts(migration)
Get a Migration GET /storage/migrations/{id}
migration = client.storage.migrations.retrieve("" )
puts(migration)
Stop a Migration POST /storage/migrations/{id}/actions/stop
response = client.storage.migrations.actions.stop("" )
puts(response)