feat(visibility): add the candidate publication, hiding and search status contract

This commit is contained in:
shira committed 2026-10-07 00:15:52 +03:00
1 parent 4436f626a3
commit 0529601021
87 files changed
+21456 -83

No files matched your search

+84
View File
@@ -50,6 +50,16 @@ tags:
withdrawal and cancellation, and the contact grant. Contacts are
readable only through an active grant, in a response separate from
the terms.
- name: privacy
description: >-
Visibility of the current candidate: the publication of the anonymous
card (a setting that refers to the C2 consent of the ledger and never
replaces it), the search status that is not a consent, the
organizations that the candidate hides the profile from, the preview
of the card, and the history of the settings and of the accesses.
Everything is closed by default, and no change makes a candidate more
visible than they chose. No schema here reaches a contact, a name, or
the lowest salary.
- name: consent
description: >-
The consent ledger of the current account: the independent consents
@@ -137,6 +147,22 @@ paths:
$ref: ./routes/candidate_invitation_cancel.yml
/api/v1/me/consents:
$ref: ./routes/consents.yml
/api/v1/me/privacy:
$ref: ./routes/candidate_privacy.yml
/api/v1/me/privacy/publication:
$ref: ./routes/candidate_privacy_publication.yml
/api/v1/me/privacy/preview:
$ref: ./routes/candidate_privacy_preview.yml
/api/v1/me/privacy/search-status:
$ref: ./routes/candidate_privacy_search_status.yml
/api/v1/me/privacy/hidden-organizations:
$ref: ./routes/candidate_privacy_hidden_organizations.yml
/api/v1/me/privacy/hidden-organizations/{org_id}:
$ref: ./routes/candidate_privacy_hidden_organization.yml
/api/v1/me/privacy/history:
$ref: ./routes/candidate_privacy_history.yml
/api/v1/me/privacy/access-history:
$ref: ./routes/candidate_privacy_access_history.yml
/api/v1/me/support-cases:
$ref: ./routes/support_cases.yml
/api/v1/me/support-cases/{case_id}:
@@ -741,6 +767,54 @@ components:
$ref: ./components/schemas.yml#/MyOrganization
MyOrganizationList:
$ref: ./components/schemas.yml#/MyOrganizationList
PublicationVersion:
$ref: ./components/schemas.yml#/PublicationVersion
SearchStatusVersion:
$ref: ./components/schemas.yml#/SearchStatusVersion
CardField:
$ref: ./components/schemas.yml#/CardField
CardFieldSet:
$ref: ./components/schemas.yml#/CardFieldSet
PublicationState:
$ref: ./components/schemas.yml#/PublicationState
PublicationClosedReason:
$ref: ./components/schemas.yml#/PublicationClosedReason
Publication:
$ref: ./components/schemas.yml#/Publication
PublicationUpdate:
$ref: ./components/schemas.yml#/PublicationUpdate
SearchStatusValue:
$ref: ./components/schemas.yml#/SearchStatusValue
SearchStatus:
$ref: ./components/schemas.yml#/SearchStatus
SearchStatusUpdate:
$ref: ./components/schemas.yml#/SearchStatusUpdate
PrivacyOrganization:
$ref: ./components/schemas.yml#/PrivacyOrganization
HiddenOrganization:
$ref: ./components/schemas.yml#/HiddenOrganization
HiddenOrganizationList:
$ref: ./components/schemas.yml#/HiddenOrganizationList
PrivacySettings:
$ref: ./components/schemas.yml#/PrivacySettings
CardCategory:
$ref: ./components/schemas.yml#/CardCategory
AnonymousCardContent:
$ref: ./components/schemas.yml#/AnonymousCardContent
CardPreview:
$ref: ./components/schemas.yml#/CardPreview
PrivacyEventKind:
$ref: ./components/schemas.yml#/PrivacyEventKind
PrivacyEvent:
$ref: ./components/schemas.yml#/PrivacyEvent
PrivacyEventList:
$ref: ./components/schemas.yml#/PrivacyEventList
CardAccessKind:
$ref: ./components/schemas.yml#/CardAccessKind
CardAccess:
$ref: ./components/schemas.yml#/CardAccess
CardAccessList:
$ref: ./components/schemas.yml#/CardAccessList
parameters:
IdempotencyKey:
$ref: ./components/parameters.yml#/IdempotencyKey
@@ -762,6 +836,8 @@ components:
$ref: ./components/parameters.yml#/InvitationId
MyInvitationId:
$ref: ./components/parameters.yml#/MyInvitationId
HiddenOrganizationId:
$ref: ./components/parameters.yml#/HiddenOrganizationId
headers:
ETag:
$ref: ./components/headers.yml#/ETag
@@ -854,6 +930,14 @@ components:
$ref: ./components/responses.yml#/OrganizationValidationFailed
OrganizationVersionConflict:
$ref: ./components/responses.yml#/OrganizationVersionConflict
PrivacyValidationFailed:
$ref: ./components/responses.yml#/PrivacyValidationFailed
PrivacyVersionConflict:
$ref: ./components/responses.yml#/PrivacyVersionConflict
PublicationConsentRequired:
$ref: ./components/responses.yml#/PublicationConsentRequired
HiddenOrganizationLimit:
$ref: ./components/responses.yml#/HiddenOrganizationLimit
securitySchemes:
sessionCookie:
type: apiKey