Skip to content

Commit

Permalink
fix: POST on Container Triggers Add Activity
Browse files Browse the repository at this point in the history
A successful POST on a container resource on a Solid store creates a new resource in it, therefore it will trigger a notification with activity set to `as:Add`.
  • Loading branch information
CxRes committed Nov 13, 2024
1 parent fce61f0 commit 85198c4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sections/activity-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,16 @@ A [=Solid server=] sending a [PREP] notification as a result of some activity on
<th> Request Method
<th> Activity Type
<tbody>
<tr>
<td><code> [[RFC9110#POST|POST]] <br> ([[SOLID-PROTOCOL#resource-containment|Containers]])
<td><code> [[ACTIVITYSTREAMS-VOCABULARY#dfn-add|as:Add]]
<tr>
<td><code> [[RFC9110#PUT|PUT]]
<td rowspan="3"><code> [[ACTIVITYSTREAMS-VOCABULARY#dfn-update|as:Update]]
<tr>
<td><code> [[RFC5789#section-2|PATCH]]
<tr>
<td><code> [[RFC9110#POST|POST]]
<td><code> [[RFC9110#POST|POST]] <br> (Not [[SOLID-PROTOCOL#resource-containment|Containers]])
<tr>
<td><code> [[RFC9110#DELETE|DELETE]]
<td><code> [[ACTIVITYSTREAMS-VOCABULARY#dfn-delete|as:Delete]]
Expand Down

0 comments on commit 85198c4

Please sign in to comment.