Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update camunda REST API doc #4256

Merged
merged 2 commits into from
Sep 9, 2024
Merged

Update camunda REST API doc #4256

merged 2 commits into from
Sep 9, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 5, 2024

Description

This is an autogenerated PR by the sync api specs workflow.
This PR contains every changes made to the REST api specs in the monorepo in the last week.
This PR contains also all the generated OpenAPI files related to the changes.

When should this change go live?

  • There is no urgency with this change and can be released at any time.

PR Checklist

  • My changes are for the next minor and are in /docs directory (aka /next/).
  • My changes require a technical writer review, and I've assigned @camunda/tech-writers as a reviewer.

@github-actions github-actions bot added the deploy Stand up a temporary docs site with this PR label Sep 5, 2024
@pepopowitz pepopowitz self-requested a review September 5, 2024 15:10
@pepopowitz
Copy link
Collaborator

Closing and re-opening so that CI kicks off (at least, I think that will trigger it)

@pepopowitz pepopowitz closed this Sep 5, 2024
@pepopowitz pepopowitz reopened this Sep 5, 2024
Copy link
Contributor Author

github-actions bot commented Sep 5, 2024

👋 🤖 🤔 Hello! Did you make your changes in all the right places?

These files were changed only in docs/. You might want to duplicate these changes in versioned_docs/version-8.5/.

  • docs/apis-tools/camunda-api-rest/specifications/create-document-link-experimental.api.mdx
  • docs/apis-tools/camunda-api-rest/specifications/deploy-resources.api.mdx
  • docs/apis-tools/camunda-api-rest/specifications/get-decision-definition-xml-experimental.api.mdx
  • docs/apis-tools/camunda-api-rest/specifications/patch-authorization.api.mdx
  • docs/apis-tools/camunda-api-rest/specifications/pin-the-zeebe-engines-internal-clock-to-a-specific-time-experimental.api.mdx
  • docs/apis-tools/camunda-api-rest/specifications/query-incident-experimental.api.mdx
  • docs/apis-tools/camunda-api-rest/specifications/query-process-instances-experimental.api.mdx
  • docs/apis-tools/camunda-api-rest/specifications/query-user-tasks-experimental.api.mdx
  • docs/apis-tools/camunda-api-rest/specifications/reset-the-zeebe-engines-internal-clock-to-the-system-time-experimental.api.mdx
  • docs/apis-tools/camunda-api-rest/specifications/sidebar.js
  • docs/apis-tools/camunda-api-rest/specifications/start-process-instance.api.mdx
  • docs/apis-tools/camunda-api-rest/specifications/update-a-job.api.mdx
  • docs/apis-tools/camunda-api-rest/specifications/update-user-task.api.mdx
  • docs/apis-tools/camunda-api-rest/specifications/upload-document-experimental.api.mdx

You may have done this intentionally, but we wanted to point it out in case you didn't. You can read more about the versioning within our docs in our documentation guidelines.

@pepopowitz
Copy link
Collaborator

pepopowitz commented Sep 5, 2024

Closing and re-opening so that CI kicks off (at least, I think that will trigger it)

(it didn't, at least not the build-docs check. But updating from main did.)

@pepopowitz pepopowitz requested a review from a team September 5, 2024 20:39
@pepopowitz pepopowitz self-assigned this Sep 5, 2024
@github-actions github-actions bot temporarily deployed to camunda-docs September 5, 2024 21:04 Destroyed
@nicpuppa
Copy link
Contributor

nicpuppa commented Sep 6, 2024

@pepopowitz I had a look at the errors, we need a scoped PAT if we want to add @camunda/tech-writers as reviewers (also for running the CI)

Error: Unable to request reviewers. If requesting team reviewers a 'repo' scoped PAT is required.

Let me know if you need any help

@pepopowitz
Copy link
Collaborator

@pepopowitz I had a look at the errors, we need a scoped PAT if we want to add @camunda/tech-writers as reviewers (also for running the CI)

Error: Unable to request reviewers. If requesting team reviewers a 'repo' scoped PAT is required.

Let me know if you need any help

Tracked at #4263.

Copy link
Collaborator

@pepopowitz pepopowitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Multiple small changes that I will push upstream in a separate PR
  • At least one batch of missing descriptions that I will assign to the original author

Next week I'll merge this as-is, and start ☝️ those follow-ups.

api/camunda/camunda-openapi.yaml Show resolved Hide resolved
api/camunda/camunda-openapi.yaml Show resolved Hide resolved
api/camunda/camunda-openapi.yaml Show resolved Hide resolved
api/camunda/camunda-openapi.yaml Show resolved Hide resolved
api/camunda/camunda-openapi.yaml Show resolved Hide resolved
api/camunda/camunda-openapi.yaml Show resolved Hide resolved
Comment on lines +1447 to +1494
running:
type: boolean
active:
type: boolean
incidents:
type: boolean
finished:
type: boolean
completed:
type: boolean
canceled:
type: boolean
retriesLeft:
type: boolean
errorMessage:
type: string
activityId:
type: string
startDate:
type: string
format: date-time
endDate:
type: string
format: date-time
bpmnProcessId:
type: string
processDefinitionVersion:
type: integer
format: int32
variable:
allOf:
- $ref: "#/components/schemas/ProcessInstanceVariableFilterRequest"
batchOperationId:
type: string
parentProcessInstanceKey:
type: integer
format: int64
tenantId:
type: string
ProcessInstanceVariableFilterRequest:
type: object
properties:
name:
type: string
values:
type: array
items:
$ref: "#/components/schemas/VariableValueFilterRequest"
type: string
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

category: missing descriptions

owner: API author

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mihail-ca -- in a recent PR to the C8 REST API, you added or updated the following in the OpenAPI spec, each of which is missing description properties:

The descriptions are important because the docs ingest the spec from the camunda repo, and generate our API docs from it. I'm tagging you here in the camunda-docs repo, instead of the camunda repo, because that's where we (DevEx) noticed the descriptions missing.

Please add descriptions to these items, in the camunda repo's C8 REST OpenAPI spec. Your changes will eventually propagate downstream to the docs here.

For guidance on writing the descriptions, see here. If you have any questions, feel free to ask.

Thank you!

api/camunda/camunda-openapi.yaml Show resolved Hide resolved
api/camunda/camunda-openapi.yaml Show resolved Hide resolved
api/camunda/camunda-openapi.yaml Show resolved Hide resolved
@pepopowitz
Copy link
Collaborator

Merging this as-is, and following up with all my comments separately.

@pepopowitz pepopowitz merged commit 1f6cb4b into main Sep 9, 2024
7 checks passed
@pepopowitz pepopowitz deleted the update-rest-doc branch September 9, 2024 15:55
Copy link
Contributor Author

github-actions bot commented Sep 9, 2024

🧹 Preview environment for this PR has been torn down.

github-merge-queue bot pushed a commit to camunda/camunda that referenced this pull request Sep 9, 2024
…cs (#22101)

(Note that this is different from #22037, another recent PR which
brought up different downstream changes.)

## Description

This PR addresses a few small C8 REST API spec issues, which were
identified in camunda/camunda-docs#4256.

See that PR for original conversation on these changes.
@pepopowitz
Copy link
Collaborator

✅ All feedback is accounted for in follow-ups, either directly tagging the original API authors, or in camunda/camunda#22101.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy Stand up a temporary docs site with this PR
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants