Use the RazeeDash api to upload a version. For example,
-
-
-curl --url "{{apiUrl}}api/v1/channels/${CHANNEL}/version" \
+
+curl --url "{{apiUrl}}api/v1/channels/${CHANNEL}/version" \
--header "content-type: text/yaml" \
--header "razee-org-key: {{firstOrgKey org}}" \
---header "resource-name: ${VERSION}" \
---header "x-api-key: ${X_API_KEY}" \
---header "x-user-id: ${X_USER_ID}" \
---data-binary @resource.yaml
-
+--header "resource-name: ${VERSION}" \
+{{#if currentUser.apiKey}}--header "x-api-key:
{{currentUser.apiKey}}" \
+{{else}}--header "x-api-key:
Generate api key" \
+{{/if}}--header "x-user-id: {{currentUser._id}}" \
+--data-binary @resource.yaml
CHANNEL
is the channel name you defined in RazeeDash
VERSION
is a unique verison representing your resource, e.g., master-001
- x-api-key
and x-user-id
are found on the RazeeDash user profile page