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
- 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
Resources
Get All Resources
Get information about all Resources in your account.
GET
/
security
/
resources
Copy
Ask AI
curl --request GET \
--url https://api.gcore.com/security/resources \
--header 'APIKey: <api-key>'
Copy
Ask AI
[
{
"id": 1,
"name": "ddosprotection1.com",
"active": true,
"client": 2,
"enabled": true,
"created": "2017-12-01 09:54:46.441966+00:00",
"updated": "2018-12-01 10:21:30.738663+00:00",
"is_waf_enabled": false,
"is_redirect_to_https_enabled": true,
"status": "active",
"service_id": 1,
"service_ip": "1.2.3.4",
"aliases": [
{
"id": 2,
"alias_id": 2,
"alias_data": "alias1.ddosprotection1.com",
"alias_ssl_expire": 0
},
{
"id": 1,
"alias_id": 1,
"alias_data": "alias2.ddosprotection1.com",
"alias_ssl_expire": 0
}
],
"origins": [
{
"id": 1,
"origin_id": 1,
"origin_data": "4.3.2.1",
"origin_weight": 50,
"origin_mode": "primary"
}
],
"rate_limier_rules": [
{
"method": "GET",
"path": "helloworld",
"value": 2
},
{
"method": "POST",
"path": "api",
"value": 10,
"test_cookie": false
},
{
"method": "GET",
"path": "docs",
"value": 10,
"test_cookie": false
}
],
"blacklists": [
{
"id": 10,
"blacklist_id": 10,
"blacklist_data": "11.111.111.111"
}
],
"whitelists": [
{
"id": 10,
"whitelist_id": 10,
"whitelist_data": "11.111.111.110"
}
],
"service_https2http": 0,
"service_http2": 0,
"service_ssl_expire": 0,
"service_iphash": 0,
"service_enable": 1,
"service_geoip_mode": 0,
"service_geoip_list": "",
"service_methods": "",
"service_forcessl": 0,
"service_wwwredir": 0,
"service_cdn": 0,
"service_cdn_host": "",
"service_cdn_proxy_host": "",
"service_stream": 0,
"service_global_whitelist": 1
}
]
Authorizations
API key for authentication.
Response
200 - application/json
Successful.
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request GET \
--url https://api.gcore.com/security/resources \
--header 'APIKey: <api-key>'
Copy
Ask AI
[
{
"id": 1,
"name": "ddosprotection1.com",
"active": true,
"client": 2,
"enabled": true,
"created": "2017-12-01 09:54:46.441966+00:00",
"updated": "2018-12-01 10:21:30.738663+00:00",
"is_waf_enabled": false,
"is_redirect_to_https_enabled": true,
"status": "active",
"service_id": 1,
"service_ip": "1.2.3.4",
"aliases": [
{
"id": 2,
"alias_id": 2,
"alias_data": "alias1.ddosprotection1.com",
"alias_ssl_expire": 0
},
{
"id": 1,
"alias_id": 1,
"alias_data": "alias2.ddosprotection1.com",
"alias_ssl_expire": 0
}
],
"origins": [
{
"id": 1,
"origin_id": 1,
"origin_data": "4.3.2.1",
"origin_weight": 50,
"origin_mode": "primary"
}
],
"rate_limier_rules": [
{
"method": "GET",
"path": "helloworld",
"value": 2
},
{
"method": "POST",
"path": "api",
"value": 10,
"test_cookie": false
},
{
"method": "GET",
"path": "docs",
"value": 10,
"test_cookie": false
}
],
"blacklists": [
{
"id": 10,
"blacklist_id": 10,
"blacklist_data": "11.111.111.111"
}
],
"whitelists": [
{
"id": 10,
"whitelist_id": 10,
"whitelist_data": "11.111.111.110"
}
],
"service_https2http": 0,
"service_http2": 0,
"service_ssl_expire": 0,
"service_iphash": 0,
"service_enable": 1,
"service_geoip_mode": 0,
"service_geoip_list": "",
"service_methods": "",
"service_forcessl": 0,
"service_wwwredir": 0,
"service_cdn": 0,
"service_cdn_host": "",
"service_cdn_proxy_host": "",
"service_stream": 0,
"service_global_whitelist": 1
}
]
Assistant
Responses are generated using AI and may contain mistakes.