feat: add document management metadata documentation#328
Conversation
6b03448 to
beb7c5f
Compare
There was a problem hiding this comment.
Pull request overview
This PR adds comprehensive documentation for the Document Management Integration, specifically covering metadata structure and API endpoints for document upload and revision operations.
Changes:
- Added detailed metadata field reference documentation covering standard, system, placeholder, workflow, and custom fields
- Added API endpoints reference page with links to all Document Management endpoints
- Included examples of field types, value structures, and complete API response
Reviewed changes
Copilot reviewed 1 out of 1 changed files in this pull request and generated 8 comments.
| File | Description |
|---|---|
| document_management_integration/document_management_metadata_details.md | Comprehensive documentation of document metadata structure, field types, value sources, and integration processing with example responses |
| document_management_integration/document_management_api_endpoints.md | Quick reference table of Document Management API endpoints with descriptions and URIs |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
document_management_integration/document_management_metadata_details.md
Outdated
Show resolved
Hide resolved
document_management_integration/document_management_metadata_details.md
Outdated
Show resolved
Hide resolved
document_management_integration/document_management_metadata_details.md
Outdated
Show resolved
Hide resolved
document_management_integration/document_management_metadata_details.md
Outdated
Show resolved
Hide resolved
document_management_integration/document_management_metadata_details.md
Outdated
Show resolved
Hide resolved
document_management_integration/document_management_metadata_details.md
Outdated
Show resolved
Hide resolved
document_management_integration/document_management_metadata_details.md
Outdated
Show resolved
Hide resolved
document_management_integration/document_management_metadata_details.md
Outdated
Show resolved
Hide resolved
beb7c5f to
8ee7c64
Compare
8ee7c64 to
02321f5
Compare
document_management_integration/document_management_metadata_details.md
Outdated
Show resolved
Hide resolved
| | **timestamp** | Date and time in ISO 8601 UTC format | | ||
| | **lov_entry** | Single selection from project-configured list of values | | ||
| | **lov_entries** | Multiple selections from project-configured list of values | | ||
| | **reference** | Link to another entity such as users, locations, or workflows | |
There was a problem hiding this comment.
I think there is also a numeric field type
document_management_integration/document_management_metadata_details.md
Outdated
Show resolved
Hide resolved
|
|
||
| ## Field Type Reference | ||
|
|
||
| In the Document Upload and Document Revision API responses, each field object in the `fields` array includes a `type` property that determines its value format and structure. |
There was a problem hiding this comment.
Consider possibly linking the API documentation
| *** | ||
| <details> | ||
| <summary class="collapseListTierOne">Overview of document metadata fields</summary> | ||
| <pre><code>{ |
There was a problem hiding this comment.
When I preview this code block, the formatting is off for some reason.
There was a problem hiding this comment.
Tried to address the formatting issue. Let me know if it's still showing up.
document_management_integration/document_management_metadata_details.md
Outdated
Show resolved
Hide resolved
Co-authored-by: David Kang <kangster@users.noreply.github.com>
9dd8116 to
3cb4cfc
Compare
| - **Integrate with naming standards**: Some custom fields can be extracted from filenames | ||
| - **Support workflows**: Can be used in workflow rules and permission groups | ||
|
|
||
| To retrieve available custom fields for a project, use the [List Project Fields](https://developers.procore.com/reference/rest/project-fields?version=latest) endpoint. |
There was a problem hiding this comment.
Does this PDM API return Custom Fields for the PDM Project? If so, do we know if a field is a Custom Field due to the custom_field_definition_id?
Or should we be linking to a Custom Fields API endpoint instead (not sure which of these)?
There was a problem hiding this comment.
Yes, it returns custom_field_definition_id for custom fields. I updated the text to indicate this.


Jira Ticket:
🎫 DOCINT-1056
Summary
Adds documentation for PDM metadata.
Change Type(s)