{ "opencollection": "1.0.0", "info": { "name": "Citrix NetScaler NITRO REST Authentication CS Virtual Server API", "version": "14.1" }, "request": { "auth": { "type": "apikey", "key": "NITRO_AUTH_TOKEN", "value": "{{NITRO_AUTH_TOKEN}}", "placement": "query" } }, "items": [ { "info": { "name": "CS Virtual Server", "type": "folder" }, "items": [ { "info": { "name": "Citrix Netscaler List Content Switching Virtual Servers", "type": "http" }, "http": { "method": "GET", "url": "https://{nsip}/nitro/v1/config/csvserver", "params": [ { "name": "attrs", "value": "name,ipv46,port,servicetype", "type": "query", "description": "Comma-separated list of attributes to retrieve. Limits the response to only the specified fields for efficiency." }, { "name": "filter", "value": "servicetype:HTTP,lbmethod:ROUNDROBIN", "type": "query", "description": "Filter expression in the format property1:value1,property2:value2 to restrict results to matching resources." }, { "name": "view", "value": "", "type": "query", "description": "Controls the level of detail in the response. Summary returns a minimal set of properties; detail returns all properties." }, { "name": "count", "value": "", "type": "query", "description": "When set to yes, returns only the count of matching resources instead of the full resource details." }, { "name": "pagesize", "value": "", "type": "query", "description": "Number of resources to return per page for paginated responses." }, { "name": "pageno", "value": "", "type": "query", "description": "Page number to retrieve in paginated responses." } ] }, "docs": "Retrieves all content switching virtual server configurations. Supports filtering, pagination, attribute selection, and summary/detail views." }, { "info": { "name": "Citrix Netscaler Create a Content Switching Virtual Server", "type": "http" }, "http": { "method": "POST", "url": "https://{nsip}/nitro/v1/config/csvserver", "headers": [ { "name": "X-NITRO-ONERROR", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new content switching virtual server. Content switching directs incoming client requests to specific load balancing virtual servers based on policies that evaluate request attributes." }, { "info": { "name": "Citrix Netscaler Get a Specific Content Switching Virtual Server", "type": "http" }, "http": { "method": "GET", "url": "https://{nsip}/nitro/v1/config/csvserver/:name", "params": [ { "name": "name", "value": "Example Title", "type": "path", "description": "Name of the content switching virtual server." }, { "name": "attrs", "value": "name,ipv46,port,servicetype", "type": "query", "description": "Comma-separated list of attributes to retrieve. Limits the response to only the specified fields for efficiency." } ] }, "docs": "Retrieves the configuration of a specific content switching virtual server identified by name." }, { "info": { "name": "Citrix Netscaler Update a Content Switching Virtual Server", "type": "http" }, "http": { "method": "PUT", "url": "https://{nsip}/nitro/v1/config/csvserver/:name", "params": [ { "name": "name", "value": "Example Title", "type": "path", "description": "Name of the content switching virtual server to update." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the configuration of an existing content switching virtual server." }, { "info": { "name": "Citrix Netscaler Delete a Content Switching Virtual Server", "type": "http" }, "http": { "method": "DELETE", "url": "https://{nsip}/nitro/v1/config/csvserver/:name", "params": [ { "name": "name", "value": "Example Title", "type": "path", "description": "Name of the content switching virtual server to delete." } ] }, "docs": "Deletes a content switching virtual server identified by name." }, { "info": { "name": "Citrix Netscaler Bind a Content Switching Policy to a Virtual Server", "type": "http" }, "http": { "method": "PUT", "url": "https://{nsip}/nitro/v1/config/csvserver_cspolicy_binding", "body": { "type": "json", "data": "{}" } }, "docs": "Binds a content switching policy to a content switching virtual server, defining how incoming requests are routed to load balancing virtual servers." }, { "info": { "name": "Citrix Netscaler Get Policy Bindings for a Content Switching Virtual Server", "type": "http" }, "http": { "method": "GET", "url": "https://{nsip}/nitro/v1/config/csvserver_cspolicy_binding/:name", "params": [ { "name": "name", "value": "Example Title", "type": "path", "description": "Name of the content switching virtual server." } ] }, "docs": "Retrieves all content switching policies bound to a specific content switching virtual server." } ] } ], "bundled": true }