@@ -42,60 +42,119 @@ <h2>Login</h2>
4242 < div class ="container ">
4343 < div class ="api-list ">
4444 < h2 > API Calls</ h2 >
45-
46- < h3 style ="margin-top: 0; margin-bottom: 10px; color: #1467FF; border-bottom: 2px solid #1467FF; padding-bottom: 5px; "> Workspace Endpoints</ h3 >
47- < button class ="api-button " data-endpoint ="/projects "> Projects</ button >
48- < button class ="api-button " data-endpoint ="/solution-capabilities "> Solution Capabilities</ button >
49- < button class ="api-button " data-endpoint ="/elements "> Elements</ button >
50- < button class ="api-button " data-endpoint ="/assessment "> Assessments</ button >
51- < button class ="api-button " data-endpoint ="/evidence "> Evidence</ button >
52- < button class ="api-button " data-endpoint ="/issues/oscal "> Issues OSCAL</ button >
53-
54- < h3 style ="margin-top: 20px; margin-bottom: 10px; color: #1467FF; border-bottom: 2px solid #1467FF; padding-bottom: 5px; "> Project Endpoints</ h3 >
55- < div style ="margin-bottom: 10px; ">
56- < label for ="projectId " style ="display: block; margin-bottom: 5px; font-weight: bold; "> Project:</ label >
57- < select id ="projectId " name ="projectId " style ="width: 100%; padding: 5px; margin-bottom: 10px; box-sizing: border-box; ">
58- < option value =""> Loading projects...</ option >
59- </ select >
60- < button type ="button " id ="refreshProjects " style ="width: 100%; padding: 5px; margin-bottom: 10px; color: white; border: none; border-radius: 3px; cursor: pointer; "> Refresh Projects</ button >
61- </ div >
62- < button class ="api-button project-endpoint " data-endpoint-template ="/projects/{projectId} " data-requires-project ="true "> Get Project by ID</ button >
63- < button class ="api-button project-endpoint " data-endpoint-template ="/projects/{projectId}/control-implementations " data-requires-project ="true "> Control Implementations</ button >
64- < button class ="api-button project-endpoint " data-endpoint-template ="/issues?projectId={projectId} " data-requires-project ="true "> Issues</ button >
65-
66- < h3 style ="margin-top: 20px; margin-bottom: 10px; color: #1467FF; border-bottom: 2px solid #1467FF; padding-bottom: 5px; "> Issue Endpoints</ h3 >
67- < div style ="margin-bottom: 10px; ">
68- < label for ="issueId " style ="display: block; margin-bottom: 5px; font-weight: bold; "> Issue ID:</ label >
69- < input type ="text " id ="issueId " name ="issueId " placeholder ="Enter issue UUID " style ="width: 100%; padding: 5px; margin-bottom: 10px; box-sizing: border-box; ">
70- </ div >
71- < button class ="api-button issue-endpoint " data-endpoint-template ="/issues/{issueId}/recommendations " data-requires-issue ="true "> Recommendations</ button >
72- < button class ="api-button issue-endpoint " data-endpoint-template ="/issues/{issueId}/deviations " data-requires-issue ="true "> Deviations</ button >
73- < button class ="api-button issue-endpoint " data-endpoint-template ="/issues/{issueId}/milestones " data-requires-issue ="true "> Milestones</ button >
74-
75- < h3 style ="margin-top: 20px; margin-bottom: 10px; color: #1467FF; border-bottom: 2px solid #1467FF; padding-bottom: 5px; "> Validator Endpoints</ h3 >
76- < button class ="api-button " data-endpoint ="/validators "> Validators</ button >
77- < div style ="margin-bottom: 10px; ">
78- < label for ="validatorId " style ="display: block; margin-bottom: 5px; font-weight: bold; "> Validator ID:</ label >
79- < input type ="text " id ="validatorId " name ="validatorId " placeholder ="Enter validator UUID " style ="width: 100%; padding: 5px; margin-bottom: 10px; box-sizing: border-box; ">
80- </ div >
81- < button class ="api-button validator-endpoint " data-endpoint-template ="/validators/{validatorId} " data-requires-validator ="true "> Get Validator by ID</ button >
82-
83- < h3 style ="margin-top: 20px; margin-bottom: 10px; color: #1467FF; border-bottom: 2px solid #1467FF; padding-bottom: 5px; "> Stack Endpoints</ h3 >
84- < button class ="api-button " data-endpoint ="/stacks "> Stacks</ button >
85- < div style ="margin-bottom: 10px; ">
86- < label for ="stackId " style ="display: block; margin-bottom: 5px; font-weight: bold; "> Stack ID:</ label >
87- < input type ="text " id ="stackId " name ="stackId " placeholder ="Enter stack UUID " style ="width: 100%; padding: 5px; margin-bottom: 10px; box-sizing: border-box; ">
88- </ div >
89- < button class ="api-button stack-endpoint " data-endpoint-template ="/stacks/{stackId} " data-requires-stack ="true "> Get Stack by ID</ button >
90-
91- < h3 style ="margin-top: 20px; margin-bottom: 10px; color: #1467FF; border-bottom: 2px solid #1467FF; padding-bottom: 5px; "> Script Endpoints</ h3 >
92- < button class ="api-button " data-endpoint ="/scripts "> Scripts</ button >
93- < div style ="margin-bottom: 10px; ">
94- < label for ="scriptId " style ="display: block; margin-bottom: 5px; font-weight: bold; "> Script ID:</ label >
95- < input type ="text " id ="scriptId " name ="scriptId " placeholder ="Enter script UUID " style ="width: 100%; padding: 5px; margin-bottom: 10px; box-sizing: border-box; ">
96- </ div >
97- < button class ="api-button script-endpoint " data-endpoint-template ="/scripts/{scriptId} " data-requires-script ="true "> Get Script by ID</ button >
98- < br />
45+
46+ < details class ="endpoint-group " open >
47+ < summary > Project Endpoints</ summary >
48+ < button class ="api-button " data-endpoint ="/projects "> Projects</ button >
49+ < div style ="margin-bottom: 10px; ">
50+ < label for ="projectId " class ="id-label "> Project:</ label >
51+ < select id ="projectId " name ="projectId " class ="id-input ">
52+ < option value =""> Loading projects...</ option >
53+ </ select >
54+ < button type ="button " id ="refreshProjects " style ="width: 100%; padding: 5px; margin-bottom: 10px; color: white; border: none; border-radius: 3px; cursor: pointer; "> Refresh Projects</ button >
55+ </ div >
56+ < button class ="api-button project-endpoint " data-endpoint-template ="/projects/{projectId} " data-requires-project ="true "> Get Project by ID</ button >
57+ < button class ="api-button project-endpoint " data-endpoint-template ="/projects/{projectId}/control-implementations " data-requires-project ="true "> Control Implementations</ button >
58+ < button class ="api-button project-endpoint " data-endpoint-template ="/issues?projectId={projectId} " data-requires-project ="true "> Issues (by Project)</ button >
59+ </ details >
60+
61+ < details class ="endpoint-group ">
62+ < summary > Assessment Endpoints</ summary >
63+ < button class ="api-button " data-endpoint ="/assessment "> Assessments</ button >
64+ < div style ="margin-bottom: 10px; ">
65+ < label for ="assessmentId " class ="id-label "> Assessment ID:</ label >
66+ < input type ="text " id ="assessmentId " name ="assessmentId " placeholder ="Enter assessment UUID " class ="id-input ">
67+ </ div >
68+ < button class ="api-button assessment-endpoint " data-endpoint-template ="/assessment/{assessmentId} " data-requires-assessment ="true "> Get Assessment by ID</ button >
69+ < button class ="api-button assessment-endpoint " data-endpoint-template ="/assessment/{assessmentId}/cycle " data-requires-assessment ="true "> Assessment Cycles</ button >
70+ </ details >
71+
72+ < details class ="endpoint-group ">
73+ < summary > Audit Assessment Endpoints</ summary >
74+ < button class ="api-button " data-endpoint ="/audit-assessments "> Audit Assessments</ button >
75+ < div style ="margin-bottom: 10px; ">
76+ < label for ="auditAssessmentId " class ="id-label "> Audit Assessment ID:</ label >
77+ < input type ="text " id ="auditAssessmentId " name ="auditAssessmentId " placeholder ="Enter audit assessment UUID " class ="id-input ">
78+ </ div >
79+ < button class ="api-button audit-assessment-endpoint " data-endpoint-template ="/audit-assessments/{auditAssessmentId} " data-requires-audit-assessment ="true "> Get Audit Assessment by ID</ button >
80+ < button class ="api-button audit-assessment-endpoint " data-endpoint-template ="/audit-assessments/{auditAssessmentId}/control-implementations " data-requires-audit-assessment ="true "> Control Implementations</ button >
81+ </ details >
82+
83+ < details class ="endpoint-group ">
84+ < summary > Evidence Endpoints</ summary >
85+ < button class ="api-button " data-endpoint ="/evidence "> Evidence</ button >
86+ < div style ="margin-bottom: 10px; ">
87+ < label for ="evidenceId " class ="id-label "> Evidence ID:</ label >
88+ < input type ="text " id ="evidenceId " name ="evidenceId " placeholder ="Enter evidence UUID " class ="id-input ">
89+ </ div >
90+ < button class ="api-button evidence-endpoint " data-endpoint-template ="/evidence/{evidenceId} " data-requires-evidence ="true "> Get Evidence by ID</ button >
91+ < button class ="api-button evidence-endpoint " data-endpoint-template ="/evidence/{evidenceId}/artifacts " data-requires-evidence ="true "> Evidence Artifacts</ button >
92+ </ details >
93+
94+ < details class ="endpoint-group ">
95+ < summary > Solution Capability Endpoints</ summary >
96+ < button class ="api-button " data-endpoint ="/solution-capabilities "> Solution Capabilities</ button >
97+ < div style ="margin-bottom: 10px; ">
98+ < label for ="solutionCapabilityId " class ="id-label "> Solution Capability ID:</ label >
99+ < input type ="text " id ="solutionCapabilityId " name ="solutionCapabilityId " placeholder ="Enter solution capability UUID " class ="id-input ">
100+ </ div >
101+ < button class ="api-button solution-capability-endpoint " data-endpoint-template ="/solution-capabilities/{solutionCapabilityId} " data-requires-solution-capability ="true "> Get Solution Capability by ID</ button >
102+ </ details >
103+
104+ < details class ="endpoint-group ">
105+ < summary > Element Endpoints</ summary >
106+ < button class ="api-button " data-endpoint ="/elements "> Elements</ button >
107+ < div style ="margin-bottom: 10px; ">
108+ < label for ="elementId " class ="id-label "> Element ID:</ label >
109+ < input type ="text " id ="elementId " name ="elementId " placeholder ="Enter element UUID " class ="id-input ">
110+ </ div >
111+ < button class ="api-button element-endpoint " data-endpoint-template ="/elements/{elementId} " data-requires-element ="true "> Get Element by ID</ button >
112+ </ details >
113+
114+ < details class ="endpoint-group ">
115+ < summary > Issue Endpoints</ summary >
116+ < button class ="api-button " data-endpoint ="/issues/oscal "> Issues OSCAL</ button >
117+ < div style ="margin-bottom: 10px; ">
118+ < label for ="issueId " class ="id-label "> Issue ID:</ label >
119+ < input type ="text " id ="issueId " name ="issueId " placeholder ="Enter issue UUID " class ="id-input ">
120+ </ div >
121+ < button class ="api-button issue-endpoint " data-endpoint-template ="/issues/{issueId} " data-requires-issue ="true "> Get Issue by ID</ button >
122+ < button class ="api-button issue-endpoint " data-endpoint-template ="/issues/{issueId}/recommendations " data-requires-issue ="true "> Recommendations</ button >
123+ < button class ="api-button issue-endpoint " data-endpoint-template ="/issues/{issueId}/deviations " data-requires-issue ="true "> Deviations</ button >
124+ < button class ="api-button issue-endpoint " data-endpoint-template ="/issues/{issueId}/milestones " data-requires-issue ="true "> Milestones</ button >
125+ </ details >
126+
127+ < details class ="endpoint-group ">
128+ < summary > Validator Endpoints</ summary >
129+ < button class ="api-button " data-endpoint ="/validators "> Validators</ button >
130+ < div style ="margin-bottom: 10px; ">
131+ < label for ="validatorId " class ="id-label "> Validator ID:</ label >
132+ < input type ="text " id ="validatorId " name ="validatorId " placeholder ="Enter validator UUID " class ="id-input ">
133+ </ div >
134+ < button class ="api-button validator-endpoint " data-endpoint-template ="/validators/{validatorId} " data-requires-validator ="true "> Get Validator by ID</ button >
135+ </ details >
136+
137+ < details class ="endpoint-group ">
138+ < summary > Stack Endpoints</ summary >
139+ < button class ="api-button " data-endpoint ="/stacks "> Stacks</ button >
140+ < div style ="margin-bottom: 10px; ">
141+ < label for ="stackId " class ="id-label "> Stack ID:</ label >
142+ < input type ="text " id ="stackId " name ="stackId " placeholder ="Enter stack UUID " class ="id-input ">
143+ </ div >
144+ < button class ="api-button stack-endpoint " data-endpoint-template ="/stacks/{stackId} " data-requires-stack ="true "> Get Stack by ID</ button >
145+ </ details >
146+
147+ < details class ="endpoint-group ">
148+ < summary > Script Endpoints</ summary >
149+ < button class ="api-button " data-endpoint ="/scripts "> Scripts</ button >
150+ < div style ="margin-bottom: 10px; ">
151+ < label for ="scriptId " class ="id-label "> Script ID:</ label >
152+ < input type ="text " id ="scriptId " name ="scriptId " placeholder ="Enter script UUID " class ="id-input ">
153+ </ div >
154+ < button class ="api-button script-endpoint " data-endpoint-template ="/scripts/{scriptId} " data-requires-script ="true "> Get Script by ID</ button >
155+ </ details >
156+
157+ < br />
99158 < form id ="logout-form " action ="/logout ">
100159 < button type ="submit "> Logout</ button >
101160 </ form >
0 commit comments