Preview the zero-config source-repo target for this project
GET/api/v1/projects/:project_id/issue-exports/suggested-target
Compute what the project source-repo target would look like.
Mirrors the per-assessment suggested-target preview against the
project's VCS source. Project-scoped targets require an org-scoped
connection, so a personal source connection is reported unavailable
even for the project creator. Read-only; never inserts a row.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 429
- 500
Successful Response
Bad request — malformed input or failed validation.
Missing, expired, or invalid credentials.
Authenticated but not authorized for this resource. Note: cross-organization reads return 404, not 403.
Resource not found, or hidden for tenant-enumeration safety (the caller lacks permission to know whether the resource exists).
Conflict — the current resource state does not allow this operation (e.g. assessment already started, email already in use).
Semantic validation failure — request shape was valid but contents were not.
Too many requests — rate limited. Retry after the window resets.
Internal server error — unexpected failure.