#43 Specifying object creator person and object creation time

Open
opened 1 month ago by fr33domlover · 0 comments

How to specify who created a certain object, and when?

For example, a Git repo. I'd like to specify the Person actor who created it, and when it was created. I don't mean the time of the first commit in the repo though, I just mean the time the Repository object was created on the server, using a Create activity.

  • Author: I can use attributedTo. Does that make sense? Sounds a bit weird, that a repo is "attributed to" the person who created it. Should I still use this property? Or pick something external to AP? For example, the Dublin Core creator or FOAF maker (which are actually equivalent properties)
  • Creation time: I suppose I could use the standard AP published, since in this case creation refers to the time the Create activity was processed and the repository object got published and available for HTTP GETing on the server. But there are other options, e.g. for some other cases (in ForgeFed) I've been using the Dublin Core created property. I suppose I could still reserve created for the time that something was written/made, and use published for the time the object got inserted into the database and really published on the server.

Thoughts? Especially about the author. Repo "attributed to" the person who created it on the server sounds weird. In Create Note, the Note is attributedTo the actor, sounds okay. But somehow in Create Repository it sounds weird to use attributedTo, maybe because the repo's content, the commits etc. aren't really attributed to this one actor; it's just the creation, just the repo name and description, that's all.

SocialHub forum thread

How to specify who created a certain object, and when? For example, a Git repo. I'd like to specify the `Person` actor who created it, and when it was created. I don't mean the time of the first commit in the repo though, I just mean the time the `Repository` object was created on the server, using a `Create` activity. - Author: I can use `attributedTo`. Does that make sense? Sounds a bit weird, that a repo is "attributed to" the person who created it. Should I still use this property? Or pick something external to AP? For example, the Dublin Core [creator](http://purl.org/dc/terms/creator) or FOAF [maker](http://xmlns.com/foaf/0.1/maker) (which are actually equivalent properties) - Creation time: I suppose I could use the standard AP `published`, since in this case creation refers to the time the `Create` activity was processed and the repository object got published and available for HTTP GETing on the server. But there are other options, e.g. for some other cases (in ForgeFed) I've been using the Dublin Core `created` property. I suppose I could still reserve `created` for the time that something was written/made, and use `published` for the time the object got inserted into the database and really published on the server. Thoughts? Especially about the author. Repo "attributed to" the person who created it on the server sounds weird. In `Create Note`, the Note is `attributedTo` the actor, sounds okay. But somehow in `Create Repository` it sounds weird to use `attributedTo`, maybe because the repo's content, the commits etc. aren't really attributed to this one actor; it's just the creation, just the repo name and description, that's all. [SocialHub forum thread](https://socialhub.activitypub.rocks/t/specifying-object-creator-person-and-object-creation-time/286)
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.