Skip to content

Commit

Permalink
Merge branch 'master' of github.com:caseysoftware/web2project-slim
Browse files Browse the repository at this point in the history
  • Loading branch information
caseysoftware committed May 2, 2013
2 parents 9264bf3 + a3c84e1 commit dd1c6bc
Showing 1 changed file with 68 additions and 35 deletions.
103 changes: 68 additions & 35 deletions README.md
Expand Up @@ -75,54 +75,87 @@ DONE
Sample
----------------

Results of: curl -X OPTIONS http://localhost/web2project-slim/links
Results of: curl -X OPTIONS http://localhost/web2project-slim/projects

{
"actions": {
"create": {
"href": "/web2project-slim/links",
"method": "POST",
"optional": [ "link_project", "link_url", "link_task", "link_name", "link_parent", "link_description", "link_owner", "link_date", "link_icon", "link_category" ],
"required": [ "link_name", "link_url", "link_owner" ]
},
"href": "/web2project-slim/projects",
"method": "POST",
"optional": [
"project_company", "project_name", "project_short_name", "project_owner",
"project_url", "project_demo_url", "project_start_date", "project_end_date",
"project_actual_end_date", "project_status", "project_percent_complete",
"project_color_identifier", "project_description", "project_target_budget",
"project_actual_budget", "project_scheduled_hours", "project_worked_hours",
"project_task_count", "project_creator", "project_active",
"project_private", "project_priority", "project_type", "project_parent",
"project_location", "project_original_parent", "project_departments",
"project_contacts"
],
"required": [
"project_name", "project_short_name", "project_company",
"project_owner", "project_creator", "project_priority",
"project_color_identifier", "project_type", "project_status"
]
},
"delete": {
"href": "/web2project-slim/links:id",
"method": "DELETE",
"required": [ "link_id" ]
},
"href": "/web2project-slim/projects:id",
"method": "DELETE",
"required": [
"project_id"
]
},
"edit": {
"href": "/web2project-slim/links:id",
"method": "PATCH",
"optional": [ "link_project", "link_url", "link_task", "link_name", "link_parent", "link_description", "link_owner", "link_date", "link_icon", "link_category" ],
"href": "/web2project-slim/projects/:id",
"method": "PATCH",
"optional": [
"project_company", "project_name", "project_short_name", "project_owner",
"project_url", "project_demo_url", "project_start_date", "project_end_date",
"project_actual_end_date", "project_status", "project_percent_complete",
"project_color_identifier", "project_description", "project_target_budget",
"project_actual_budget", "project_scheduled_hours", "project_worked_hours",
"project_task_count", "project_creator", "project_active",
"project_private", "project_priority", "project_type", "project_parent",
"project_location", "project_original_parent", "project_departments",
"project_contacts"
],
"required": [
"link_id"
"project_id"
]
},
},
"filter": {
"href": "/web2project-slim/links",
"method": "GET",
"optional": ["page", "limit"]
},
"href": "/web2project-slim/projects",
"method": "GET",
"optional": [
"page",
"limit"
]
},
"help": {
"href": "/web2project-slim/links",
"href": "/web2project-slim/projects",
"method": "OPTIONS"
},
},
"index": {
"href": "/web2project-slim/links",
"href": "/web2project-slim/projects",
"method": "GET"
},
},
"search": {
"href": "/web2project-slim/links",
"method": "GET",
"required": [ "search" ]
},
"href": "/web2project-slim/projects",
"method": "GET",
"required": [
"search"
]
},
"view": {
"href": "/web2project-slim/links:id",
"method": "GET",
"required": [ "link_id" ]
"href": "/web2project-slim/projects/:id",
"method": "GET",
"required": [
"project_id"
]
}
},
"resource_uri": "/links",
"root_uri": "/web2project-slim",
"self": "/web2project-slim/links"
}
},
"resource_uri": "/projects",
"root_uri": "/web2project-slim",
"self": "/web2project-slim/projects"
}

0 comments on commit dd1c6bc

Please sign in to comment.