-
Notifications
You must be signed in to change notification settings - Fork 11
feat: add document management intro documentation #326
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
base: main
Are you sure you want to change the base?
Conversation
78979c7 to
58aabea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds introductory documentation for Procore's Document Management integration along with supporting reference pages. It introduces a detailed integration overview guide, an API endpoints reference, and a placeholder page for metadata details.
Changes:
- Expand
document_management_intro.mdinto a full conceptual + best-practices guide for Document Management integrations, including workflows and ML behavior. - Add
document_management_api_endpoints.mdwith a tabular summary of the primary Document Management REST endpoints. - Add
document_management_metadata_details.mdas a new (currently placeholder) page intended to document metadata details.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
document_management_integration/document_management_intro.md |
Introduces a comprehensive overview of PDM concepts, workflows, ML behavior, and integration best practices, with cross-links to related guides. |
document_management_integration/document_management_api_endpoints.md |
Adds a table of core Document Management API endpoints, actions, and descriptions for quick reference. |
document_management_integration/document_management_metadata_details.md |
Adds a new metadata details page with frontmatter wired up but no substantive content yet. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
document_management_integration/document_management_api_endpoints.md
Outdated
Show resolved
Hide resolved
58aabea to
1fe76b1
Compare
|
|
||
| ## Next Steps | ||
|
|
||
| See the [Document Management Technical Guide]({{ site.url }}{{ site.baseurl }}{% link document_management_integration/document_management_technical_guide.md %}) for detailed step-by-step instructions on using the document management APIs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you plan to add this page in a follow up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I was going to cover that in https://procoretech.atlassian.net/browse/DOCINT-1073
|
|
||
| | Name | Action | Endpoint URI | Description | | ||
| | --- | --- | --- | --- | | ||
| | [Create Document Uploads](https://developers.procore.com/reference/rest/document-uploads?version=latest#bulk-create-document-uploads) | POST | /rest/v2.0/companies/{company_id}/projects/{project_id}/document_management/document_uploads | Creates one or more new Document Uploads in the specified Project. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you plan to add more details about how to use the api endpoints? It might help to group the applicable endpoints for "create document upload" to show where to get values as part of the upload payload. Were you planing to cover this in the technical guide?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I was going to add details for how to use the endpoints in the technical guide.
But I do like your suggestion of grouping the endpoints. Will do that in a follow up ticket.
| PDM follows a two-stage workflow for ingesting documents: | ||
|
|
||
| **Stage 1: Document Upload** - Integrator uploads a file to Procore and sends a post request to document service upload endpoint. The system assigns a unique Upload ID, calculates container placement based on metadata, and triggers ML analysis. The upload can be edited and updated until submission. This stage allows for: | ||
| - Metadata review and enrichment before finalization |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think clarifying here that all required information must be provided before the upload can be submitted. Checking against the upload requirements.
Co-authored-by: David Kang <[email protected]>
|
|
||
| PDM follows a two-stage workflow for ingesting documents: | ||
|
|
||
| **Stage 1: Document Upload** - Integrator uploads a file to Procore and sends a post request to document service upload endpoint. The system assigns a unique Upload ID, calculates container placement based on metadata, and triggers ML analysis. The upload can be edited and updated until submission. This stage allows for: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| **Stage 1: Document Upload** - Integrator uploads a file to Procore and sends a post request to document service upload endpoint. The system assigns a unique Upload ID, calculates container placement based on metadata, and triggers ML analysis. The upload can be edited and updated until submission. This stage allows for: | |
| **Stage 1: Document Upload** - Integrator uploads a file to Procore and sends a post request to the Document Management upload endpoint. |
I suggest replacing "document service" with Document Management for consistency.
Also, should we be describing how to upload a file to Procore in more detail? Is this actually a 3-step process?
| To get started with the Document Management API, ensure you have completed these steps: | ||
|
|
||
| - **Account Setup** - Create a Procore service account. See [Creating an App]({{ site.url }}{{ site.baseurl }}{% link building_applications/building_apps_create_new.md %}) for additional information. | ||
| - **Tool Setup** - Enable the Document Management tool at the Project level for the integrator app. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - **Tool Setup** - Enable the Document Management tool at the Project level for the integrator app. | |
| - **Tool Setup** - Enable the Document Management tool at the Project level for the Procore service account. |
I suggest linking to this page and replacing "service account" with "Developer Managed Service Account" for consistency : https://developers.procore.com/documentation/developer-managed-service-accounts
c2007d5 to
a2ef811
Compare
a2ef811 to
a6b487b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
cagmz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! Especially "How Document Management Works".
Jira Ticket:
🎫 DOCINT-1056
Change Type(s)
Summary 📚
This pull request adds overview documentation for Procore's Document Management integration. The core introductory guide now details prerequisites, core concepts, workflows, best practices, and machine learning features. Additionally, new reference pages for API endpoints and metadata details are introduced.
Key documentation additions and improvements:
1. Document Management Introduction
2. Addition of Document Management API Endpoints Reference
document_management_api_endpoints.md) with a table summarizing all key API endpoints for document uploads, revisions, metadata, and related resources, including links to Procore's developer documentation.3. Scaffold for Metadata Details Documentation
document_management_metadata_details.md) as a placeholder for future content detailing document metadata fields and requirements.