Overview
IAM
- Account
- Users
- API Tokens
CDN
- IP addresses list
- CDN service
- Origins
- CDN resources
- CDN activity logs
- Log forwarding
- Log viewer
- Logs uploader
- Tools
- Rules
- Rule templates
- Purge history
- SSL certificates
- CA certificates
- CDN Statistics
- Advanced analytics
- Origin shielding
- Let's Encrypt certificates
Managed DNS
- Analyze
- Locations
- Lookup
- Metrics
- Pickers
- DNS Clients
- Zones
- DNSSEC
- RRsets
Cloud
- Bare Metal
- Container as a Service
- GETGet CaaS flavors
- GETList api keys
- POSTCreate api key
- GETGet api key
- DELDelete api key
- PATCHChange api key
- GETList pull secrets
- POSTCreate pull secret
- GETGet pull secret
- DELDelete pull secret
- PATCHChange pull secret
- POSTCheck quota for container creation
- GETList containers
- POSTCreate container
- GETGet container
- DELDelete container
- PATCHChange container
- GETGet container logs
- POSTPreview container price
- POSTCheck the quota required to create a registry
- GET
- Cost Reports
- DDOS Protection
- File Shares
- Firewalls
- Floating IPs
- Function as a Service
- GPU Cloud
- IP Ranges
- Images
- Inference Instances
- Instances
- Load Balancers
- Logging
- Managed Kubernetes
- Managed PostgreSQL
- Networks
- Placement Groups
- Projects
- Quotas
- Regions
- Registry
- Reservations
- Reserved IPs
- Routers
- SSH Keys
- Secrets
- Service Endpoints
- Snapshot Schedules
- Snapshots
- Tasks
- User Actions
- User Role Assignments
- Volumes
Security
- Event Logs
- BGP announces
- Security Templates
- Profiles
FastEdge
- Apps
- Binaries
- FastEdge Clients
- FastEdge Secrets
- Stats
- FastEdge Templates
WAAP
- WAAP Service
- Domains
- Policies
- Analytics
- Custom Page Sets
- Custom Rules
- Firewall Rules
- Advanced Rules
- Tags
- Network Organizations
- API Discovery
- IP Spotlight
- Security Insights
Web Security
- Billing Statistics
- Resources
Video Streaming
- Streams
- Overlays
- Broadcasts
- Restreams
- Videos
- Subtitles
- Directories
- Playlists
- QualitySets
- Players
- AI
- Streaming Statistics
Object Storage
- Notifications
- Key
- Location
- Storage
- Storage Statistics
Container as a Service
List containers
GET
/
cloud
/
v1
/
caas
/
{project_id}
/
{region_id}
/
containers
Copy
Ask AI
curl --request GET \
--url https://api.gcore.com/cloud/v1/caas/{project_id}/{region_id}/containers \
--header 'APIKey: <api-key>'
Copy
Ask AI
{
"count": 1,
"results": [
{
"address": "some.example.com",
"commands": "python3 app.py -m test",
"created_at": "2021-01-01T00:00:00Z",
"deploy_status": {
"ready": 1,
"total": 2
},
"description": "My first container",
"envs": {
"ENVIRONMENT_VARIABLE": "value 2",
"ENV_VAR": "value 1"
},
"flavor": "250mCPU-512MiB",
"image": "nginx:latest",
"is_api_key_auth": false,
"is_disabled": false,
"listening_port": 80,
"logging": {
"destination_region_id": 1,
"enabled": true,
"retention_policy": {
"period": 45
},
"topic_name": "my-log-name"
},
"name": "nginx",
"namespace": "default",
"pull_secret": "my-secret",
"scale": {
"max": 2,
"min": 1
},
"source": "cloud",
"status": "RUNNING",
"status_message": "Some container status",
"timeout": 5
}
]
}
Authorizations
API key for authentication.
Path Parameters
Project id
Examples:
1
Region id
Examples:
1
Query Parameters
Optional. Limit the number of returned items
Required range:
0 < x <= 1000
Examples:
1000
Optional. Offset value is used to exclude the first set of records from the result
Required range:
x >= 0
Examples:
0
Response
200 - application/json
OK
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request GET \
--url https://api.gcore.com/cloud/v1/caas/{project_id}/{region_id}/containers \
--header 'APIKey: <api-key>'
Copy
Ask AI
{
"count": 1,
"results": [
{
"address": "some.example.com",
"commands": "python3 app.py -m test",
"created_at": "2021-01-01T00:00:00Z",
"deploy_status": {
"ready": 1,
"total": 2
},
"description": "My first container",
"envs": {
"ENVIRONMENT_VARIABLE": "value 2",
"ENV_VAR": "value 1"
},
"flavor": "250mCPU-512MiB",
"image": "nginx:latest",
"is_api_key_auth": false,
"is_disabled": false,
"listening_port": 80,
"logging": {
"destination_region_id": 1,
"enabled": true,
"retention_policy": {
"period": 45
},
"topic_name": "my-log-name"
},
"name": "nginx",
"namespace": "default",
"pull_secret": "my-secret",
"scale": {
"max": 2,
"min": 1
},
"source": "cloud",
"status": "RUNNING",
"status_message": "Some container status",
"timeout": 5
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.