Description
The "file" Object type represents some document or other file with no additional machine-readable semantics.
It is intended that this type be used as a base type for other Objects that manifest as files, so that additional semantics can be added while providing a fallback ability for clients that do not support the more specific Object type. For more information see http://martin.atkins.me.uk/specs/activitystreams/activityschema#file
Properties
Property name
|
Type
|
Required
|
Property Description
|
JSON field
|
Atom field
|
RSS field
|
title
|
string
|
yes
|
Name of the file --> Update the spec
|
displayName
|
atom:title
|
|
url for the file
|
string
|
no
|
Url to get to the file's contents
|
|
atom:link rel="enclosure"
|
|
owner
|
object
|
no
|
Owner of the file
|
userid for now but needs to be global
|
atom:author
|
|
id
|
string
|
yes
|
Unique id for the object. Must be different than the activity id
|
id
|
atom:id
|
|
url
|
URI
|
yes
|
Permalink to the object
|
links[0] ?
|
atom:link rel="alternate"
|
|
published |
W3CDTF timestamp |
no |
Time the object was created |
published or time ? |
atom:published |
|
updated |
W3CDTF timestamp |
no |
Last modification time |
updated |
atom:updated |
|
Verbs
- Save
- Post or Create
- Share
- Delete
URI
What is the URI for the object? Most URIs will be in the form:
http://activitystrea.ms/schema/1.0/file
Examples
Provide examples of the object being used in context.
Notes
Generally a base class
Implementations
Windows Live
Maintainers
Rob Dolin ?
Comments (0)
You don't have permission to comment on this page.