You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get relationships by project, commit, and related element
15
15
@@ -32,8 +32,11 @@ public class Example {
32
32
UUID commitId =newUUID(); // UUID | ID of the commit
33
33
UUID relatedElementId =newUUID(); // UUID | ID of the related element
34
34
String direction ="both"; // String | Filter for relationships that are incoming (in), outgoing (out), or both relative to the related element
35
+
String pageAfter ="pageAfter_example"; // String | Page after
36
+
String pageBefore ="pageBefore_example"; // String | Page before
37
+
Integer pageSize =56; // Integer | Page size
35
38
try {
36
-
List<Relationship> result = apiInstance.getRelationshipsByProjectCommitRelatedElement(projectId, commitId, relatedElementId, direction);
39
+
List<Relationship> result = apiInstance.getRelationshipsByProjectCommitRelatedElement(projectId, commitId, relatedElementId, direction, pageAfter, pageBefore, pageSize);
37
40
System.out.println(result);
38
41
} catch (ApiException e) {
39
42
System.err.println("Exception when calling RelationshipApi#getRelationshipsByProjectCommitRelatedElement");
@@ -54,6 +57,9 @@ Name | Type | Description | Notes
54
57
**commitId** | [**UUID**](.md)| ID of the commit |
55
58
**relatedElementId** | [**UUID**](.md)| ID of the related element |
56
59
**direction** | **String**| Filter for relationships that are incoming (in), outgoing (out), or both relative to the related element | [optional][default to both][enum: in, out, both]
60
+
**pageAfter** | **String**| Page after | [optional]
61
+
**pageBefore** | **String**| Page before | [optional]
0 commit comments