Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coar Notify Integration #249

Merged
merged 46 commits into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
f4a7723
[CST-11046] itemfilters and notifyservices endpoints
Aug 8, 2023
fd24688
[CST-11046] refactoring added new response status codes
Aug 17, 2023
44f6fbe
[CST-11046] refactoring added new response status codes
Aug 23, 2023
f6eb499
[CST-11046] refactoring
Sep 6, 2023
6d021ce
[CST-1104] refactoring and adding new properties to post method
Sep 18, 2023
09d8a2e
[CST-11046] refactoring path value of patch operations
Sep 20, 2023
611c795
[CST-11046] added new property "enabled"
Sep 22, 2023
bb9821b
[CST-11043] submission notify panel
Sep 27, 2023
ca9e203
Merge remote-tracking branch '4sciencegithub/CST-5249' into CST-12143
frabacche Oct 11, 2023
afaac76
[CST-11043] replaced fields with patterns property
eskander17 Oct 11, 2023
0ebe2af
[CST-11043] refactoring and handled patch operations
Oct 11, 2023
c0ef462
[CST-11043] refactoring and renamed the endpoint
Oct 16, 2023
c17e1f7
[CST-11043] replaced services with ids only
Oct 16, 2023
4018387
CST-12143 topic by target
frabacche Oct 17, 2023
aaa4377
CST-12143 QA Events findByTopic add target get parameter as non-required
frabacche Oct 17, 2023
27916fe
CST-12143 cleanup wording
abollini Oct 23, 2023
8fa75c5
Merged in CST-12143 (pull request #43)
frabacche Oct 23, 2023
de09901
CST-11403 finalization of the workspaceitem-data structure
abollini Oct 23, 2023
404ee0b
CST-11403 add details about return code for patch operation
abollini Oct 23, 2023
b089b2b
Merged in CST-11043 (pull request #41)
eskander17 Oct 23, 2023
67ddfea
[CST-11043] changed default to coarnotify
Oct 27, 2023
b653401
added a new search method
Oct 27, 2023
2ca153d
CST-12467 refactor qatopic to always refer to a qasource
abollini Oct 31, 2023
e5ea4cf
CST-12467 implement a search by target method for qa sources
abollini Nov 1, 2023
2cebbfc
CST-12469 Added score details in the rest contract
Nov 2, 2023
15e407c
Merged in CST-12467 (pull request #45)
abollini Nov 3, 2023
18bb177
CST-12469 addressed required changes on the ldnservices rest contract
Nov 7, 2023
e0d2354
CST-11045 Updated reference to the services to use the new id
Nov 10, 2023
2a10dfe
Merged in CST-11045 (pull request #47)
Nov 11, 2023
311c5aa
[CST-12469] fixed score number
steph-ieffam Nov 16, 2023
eeaf1ea
Merged in CST-12469 (pull request #46)
Nov 16, 2023
492b816
CST-12757 notifyrequests service
frabacche Nov 22, 2023
be59f8f
CST-12757 notifyrequests service
frabacche Nov 22, 2023
5ee8057
Merged in CST-12757-coar-ldn-notifyrequeststatus (pull request #49)
frabacche Nov 22, 2023
d1ea3a4
CST-12822 add offerType to notifyRequestStatus
frabacche Nov 30, 2023
34aaa95
Merge branch 'main' of bitbucket.org:4Science/rest7contract into coar…
frabacche Dec 5, 2023
cdee781
Merge branch 'main' of bitbucket.org:4Science/rest7contract into CST-…
frabacche Dec 5, 2023
5806463
Merged in CST-12881-conflicts-with-main (pull request #52)
frabacche Dec 5, 2023
22ecdaf
[CST-13257] added lowerIp and upperIpd
Jan 12, 2024
d5ebffb
refactoring
Jan 3, 2024
a46ab77
Merged in coar-notify-7_CST-12401 (pull request #57)
eskander17 Jan 15, 2024
02b5a96
Merge branch 'coar-notify-7' of bitbucket.org:4Science/rest7contract …
frabacche Jan 17, 2024
60f194b
COAR merging conflicts with main
frabacche Jan 17, 2024
9082831
COAR qualityassuranceevents add endpoint findByCurrentUser
frabacche Jan 17, 2024
9238863
Merged in coar-notify-7_CST-13257 (pull request #56)
eskander17 Jan 17, 2024
1fe3ece
coar-notify-7 add /ldn/inbox endpoint description
frabacche Feb 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
211 changes: 211 additions & 0 deletions itemfilters.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
# Item Filter Endpoints
[Back to the list of all defined endpoints](endpoints.md)

This endpoint contains the various logical item filters.

## Main Endpoint
**/api/config/itemfilters**

List all the available item filters in the system.

```json
{
"_embedded" : {
"itemfilters" : [ {
"id" : "a-common-or_statement",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/a-common-or_statement"
}
}
}, {
"id" : "always_true_filter",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/always_true_filter"
}
}
}, {
"id" : "dc-identifier-uri-contains-doi_condition",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/dc-identifier-uri-contains-doi_condition"
}
}
}, {
"id" : "demo_filter",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/demo_filter"
}
}
}, {
"id" : "doi-filter",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/doi-filter"
}
}
}, {
"id" : "driver-document-type_condition",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/driver-document-type_condition"
}
}
}, {
"id" : "example-doi_filter",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/example-doi_filter"
}
}
}, {
"id" : "has-at-least-one-bitstream_condition",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/has-at-least-one-bitstream_condition"
}
}
}, {
"id" : "has-bitstream_filter",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/has-bitstream_filter"
}
}
}, {
"id" : "has-one-bitstream_condition",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/has-one-bitstream_condition"
}
}
}, {
"id" : "in-outfit-collection_condition",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/in-outfit-collection_condition"
}
}
}, {
"id" : "is-archived_condition",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/is-archived_condition"
}
}
}, {
"id" : "is-withdrawn_condition",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/is-withdrawn_condition"
}
}
}, {
"id" : "item-is-public_condition",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/item-is-public_condition"
}
}
}, {
"id" : "openaire_filter",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/openaire_filter"
}
}
}, {
"id" : "simple-demo_filter",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/simple-demo_filter"
}
}
}, {
"id" : "title-contains-demo_condition",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/title-contains-demo_condition"
}
}
}, {
"id" : "title-starts-with-pattern_condition",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/title-starts-with-pattern_condition"
}
}
}, {
"id" : "type-equals-dataset_condition",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/type-equals-dataset_condition"
}
}
}, {
"id" : "type-equals-journal-article_condition",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/type-equals-journal-article_condition"
}
}
}, {
"id" : "type_filter",
"type" : "itemfilter",
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters/type_filter"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "http://localhost/api/config/itemfilters?size=30"
}
},
"page" : {
"size" : 30,
"totalElements" : 21,
"totalPages" : 1,
"number" : 0
}
}
```

Status codes:
* 200 OK - if the operation succeed
* 401 Unauthorized - if you are not authenticated
* 403 Forbidden - if you are not logged in with sufficient permissions. Only administrators

## Single Item Filter
**/api/config/itemfilters/<:id>**

Status codes:
* 200 OK - if the operation succeed
* 401 Unauthorized - if you are not authenticated
* 403 Forbidden - if you are not logged in with sufficient permissions. Only administrators
* 404 Not found - if the itemfilter doesn't exist

Loading
Loading