DependencyTrack / DependencyTrack/dependency-track

The .parent property for /v1/project/{uuid} and /v1/project/lookup

Open
#4,899 2 comments 1 reaction 0 assignees View on GitHub
api docs api-inconsistency
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

### Current Behavior

The .parent property is documented in the JSON Schema, but it's missing from the Example.

It appears that getting project by UUID returns the .parent. Using lookup project doesn't return the .parent.
This is inconsistent.

### Expected Behavior

.parent is shown in example.

lookup-project returns .parent property as suggested by the JSON Schema.

### Dependency-Track Version

4.13.0

### Dependency-Track Distribution

Container Image

### Database Server

N/A

### Database Server Version

_No response_

### Browser

Mozilla Firefox

### Checklist

- [x] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [x] I have checked the [existing issues](https://github.com/DependencyTrack/dependency-track/issues) for whether this defect was already reported

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.