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
// The assignment of the folder ID to be the current item UID is due to wanting to assume that your current item is a folder unless you have request data inside of your item.
374
374
// If your current item is a folder, you will want the folder ID to match the UID of the current item.
375
375
// If your current item is a request, you will want the folder ID to match the UID of the parent folder.
376
376
// If the request is at the root of a collection and has no parent folder, the folder ID will be empty.
Copy file name to clipboardExpand all lines: pkg/sources/postman/postman_client.go
+3-3
Original file line number
Diff line number
Diff line change
@@ -99,7 +99,7 @@ type Info struct {
99
99
Descriptionstring`json:"description"`
100
100
Schemastring`json:"schema"`
101
101
UpdatedAt time.Time`json:"updatedAt"`
102
-
UIDstring`json:"uid"`//Need to use this to get the collection via API
102
+
Uidstring`json:"uid"`//Need to use this to get the collection via API
103
103
}
104
104
105
105
typeItemstruct {
@@ -112,7 +112,7 @@ type Item struct {
112
112
RequestRequest`json:"request,omitempty"`
113
113
Response []Response`json:"response,omitempty"`
114
114
Descriptionstring`json:"description,omitempty"`
115
-
UIDstring`json:"uid,omitempty"`//Need to use this to get the collection via API. The UID is a concatenation of the ID and the user ID of whoever created the item.
115
+
Uidstring`json:"uid,omitempty"`//Need to use this to get the collection via API. The UID is a concatenation of the ID and the user ID of whoever created the item.
116
116
}
117
117
118
118
typeAuthstruct {
@@ -180,7 +180,7 @@ type Response struct {
180
180
HeaderKeyValue []KeyValue
181
181
HeaderString []string
182
182
Bodystring`json:"body,omitempty"`
183
-
UIDstring`json:"uid,omitempty"`
183
+
Uidstring`json:"uid,omitempty"`
184
184
}
185
185
186
186
// A Client manages communication with the Postman API.
0 commit comments