how to start with network volume through graphql api
Found this in the api documentation.
https://docs.runpod.io/sdks/graphql/manage-pods#create-on-demand-pod
How would I go about attaching a network volume to this using the api?
2 Replies
You should use the REST API it's a little easier to understand. https://docs.runpod.io/api-reference/pods/POST/pods#body-network-volume-id
Runpod Documentation
Create a new Pod - Runpod Documentation
@blabbercrab I got my own little personal solution if you want to take a look:
https://github.com/justinwlin/Runpod-Network-Volume-Storage-Tool
GitHub
GitHub - justinwlin/Runpod-Network-Volume-Storage-Tool: CLI / Funct...
CLI / Function call / API server to manager Runpod Network Volume Storage - justinwlin/Runpod-Network-Volume-Storage-Tool