apic project-files:create
Create a Project File object
Synopsis
Create a Project File object
apic project-files:create [flags]
Possible Usages
apic project-files:create [flags] PROJECT_FILE_FILE
Request examples
Example for project-files create
files:
- file_path: petstore/spec.yaml
mimetype: application/yaml
source_path: project/data/spec.yaml
version: 1.0.0
- file_path: petstore/datapowerassembly.yaml
mimetype: application/yaml
source_path: project/data/datapowerassembly.yaml
version: 1.0.0
- file_path: petstore/format.xsl
mimetype: text/plain
source_path: project/data/format.xsl
version: 1.0.0
type: project_file
Options
--format string Output format. One of [json yaml octet-stream go-template=... go-template-file=...], defaults to yaml.
-o, --org string Organization name or id (required)
--output string Write file(s) to directory, instead of STDOUT (default "-")
--project string Project name or id (required)
-s, --server string management server endpoint (required)
Options inherited from parent commands
--accept-license Accept the license for API Connect
--certificate-authority strings Path to a cert file for the certificate authority
--debug Enable debug output
--debug-output string Write debug output to file
--insecure-skip-pkix-validation Skip verifying the complete TLS certificate chain (insecure)
--insecure-skip-tls-verify If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
--lang string Toolkit operation language
--live-help Enable or disable tracking of limited usage information
-m, --mode string Toolkit operation mode (default "apim")
--tls-server-name string Server name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used