{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Adds a resource to an existing share, making it available to share recipients.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/resource-sharing_account_id"},"share_id":{"$ref":"#/definitions/resource-sharing_share_id"}},"required":["account_id","share_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/resource-sharing_create_share_resource_request"}},"required":["path","body"],"additionalProperties":false,"definitions":{"resource-sharing_account_id":{"description":"Account identifier.","type":"string","maxLength":32,"minLength":32,"pattern":"^[0-9a-fA-F]{32}$","examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"resource-sharing_share_id":{"description":"Share identifier tag.","type":"string","maxLength":32,"minLength":32,"pattern":"^[0-9a-fA-F]{32}$","examples":["3fd85f74b32742f1bff64a85009dda07"]},"resource-sharing_create_share_resource_request":{"type":"object","properties":{"meta":{"$ref":"#/definitions/resource-sharing_resource_meta"},"resource_account_id":{"description":"The account that owns the resource. Must match the `account_id` in the path.","allOf":[{"$ref":"#/definitions/resource-sharing_account_id"}]},"resource_id":{"$ref":"#/definitions/resource-sharing_resource_resource_id"},"resource_type":{"$ref":"#/definitions/resource-sharing_resource_type"}},"required":["resource_id","resource_type","resource_account_id","meta"]},"resource-sharing_resource_meta":{"description":"Resource Metadata.","type":"object"},"resource-sharing_resource_resource_id":{"description":"Identifier assigned by the service that owns the shared resource.","type":"string","examples":["0a679032-bbb2-4b7e-9acc-dd5c5cb27a17"]},"resource-sharing_resource_type":{"description":"Resource Type.","type":"string","enum":["custom-ruleset","gateway-policy","gateway-destination-ip","gateway-block-page-settings","gateway-extended-email-matching","idp-federation-grant","trust-grant"]}}},"name":"Trigger a resource addition to a share","id":"cloudflare.share-resource-create","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","share_id":"3fd85f74b32742f1bff64a85009dda07"},"body":{"resource_id":"0a679032-bbb2-4b7e-9acc-dd5c5cb27a17","resource_type":"custom-ruleset","resource_account_id":"023e105f4ecef8ad9ca31a8372d0c353","meta":{}}},"maxRequests":1,"summary":false}}